aboutsummaryrefslogtreecommitdiff
path: root/network/pdns/pdns.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pdns/pdns.SlackBuild')
-rw-r--r--network/pdns/pdns.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/pdns/pdns.SlackBuild b/network/pdns/pdns.SlackBuild
index 959526bfa89df..023055bcb8db2 100644
--- a/network/pdns/pdns.SlackBuild
+++ b/network/pdns/pdns.SlackBuild
@@ -21,6 +21,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pdns
VERSION=${VERSION:-4.1.8}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}