aboutsummaryrefslogtreecommitdiff
path: root/system/john/john.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/john/john.SlackBuild')
-rw-r--r--system/john/john.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/john/john.SlackBuild b/system/john/john.SlackBuild
index 8f02ea60e5893..bb4630ea3d036 100644
--- a/system/john/john.SlackBuild
+++ b/system/john/john.SlackBuild
@@ -13,6 +13,8 @@
# Also removed "MERGEWORDS" option, as it's harmful for cracking
# slow hashes.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=john
VERSION=${VERSION:-1.9.0}
BUILD=${BUILD:-1}
@@ -26,7 +28,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}