aboutsummaryrefslogtreecommitdiff
path: root/system/dar/dar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dar/dar.SlackBuild')
-rw-r--r--system/dar/dar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/dar/dar.SlackBuild b/system/dar/dar.SlackBuild
index 7b99c7d83560c..16480e40370e1 100644
--- a/system/dar/dar.SlackBuild
+++ b/system/dar/dar.SlackBuild
@@ -29,6 +29,8 @@
# consistency with other scripts in our repository
# No additional license terms added :-)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="dar"
VERSION=${VERSION:-2.6.3}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}