summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libarchive/libarchive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libarchive/libarchive.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libarchive/libarchive.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libarchive/libarchive.SlackBuild b/slackware64-current/source/l/libarchive/libarchive.SlackBuild
index cddf74661..f3f20627e 100755
--- a/slackware64-current/source/l/libarchive/libarchive.SlackBuild
+++ b/slackware64-current/source/l/libarchive/libarchive.SlackBuild
@@ -23,6 +23,8 @@
# Modified by Robby Workman <rworkman@slackware.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PKGNAM=libarchive
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ fi
NUMJOBS=${NUMJOBS:--j6}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM