summaryrefslogtreecommitdiff
path: root/libraries/libtar/libtar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtar/libtar.SlackBuild')
-rw-r--r--libraries/libtar/libtar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libtar/libtar.SlackBuild b/libraries/libtar/libtar.SlackBuild
index ab2046d9ee..bb6b86297b 100644
--- a/libraries/libtar/libtar.SlackBuild
+++ b/libraries/libtar/libtar.SlackBuild
@@ -29,6 +29,8 @@
# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libtar
VERSION=${VERSION:-1.2.20}
SRCVERSION=${SRCVERSION:-0907a90}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}