summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libnl/libnl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libnl/libnl.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libnl/libnl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libnl/libnl.SlackBuild b/slackware64-current/source/l/libnl/libnl.SlackBuild
index 35a41b589..29f0f0526 100755
--- a/slackware64-current/source/l/libnl/libnl.SlackBuild
+++ b/slackware64-current/source/l/libnl/libnl.SlackBuild
@@ -23,6 +23,8 @@
# Modified by Roberto Neri <rneri@libero.it>
# Modified by Robby Workman <rworkman@slackware.com> for inclusion
+cd $(dirname $0) ; CWD=$(pwd)
+
PKGNAM=libnl
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM