aboutsummaryrefslogtreecommitdiff
path: root/misc/rarcrack/rarcrack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rarcrack/rarcrack.SlackBuild')
-rw-r--r--misc/rarcrack/rarcrack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/rarcrack/rarcrack.SlackBuild b/misc/rarcrack/rarcrack.SlackBuild
index d1921df64a43..c0e50c9c9fbb 100644
--- a/misc/rarcrack/rarcrack.SlackBuild
+++ b/misc/rarcrack/rarcrack.SlackBuild
@@ -32,6 +32,8 @@
# - actually use SLKCFLAGS
# - use 'make install'
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rarcrack
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-3}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}