summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libasyncns/libasyncns.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libasyncns/libasyncns.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libasyncns/libasyncns.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libasyncns/libasyncns.SlackBuild b/slackware64-current/source/l/libasyncns/libasyncns.SlackBuild
index 9dfbbf12a..ebd63bbf0 100755
--- a/slackware64-current/source/l/libasyncns/libasyncns.SlackBuild
+++ b/slackware64-current/source/l/libasyncns/libasyncns.SlackBuild
@@ -25,6 +25,8 @@
# Originally written by crocket (crockabiscuit@gmail.com)
# Modified by Christoph Willing <chris.willing@iinet.net.au>
+cd $(dirname $0) ; CWD=$(pwd)
+
PKGNAM=libasyncns
VERSION=$(ls libasyncns-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
BUILD=${BUILD:-1}
@@ -57,7 +59,6 @@ else
LIBDIRSUFFIX=""
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM