aboutsummaryrefslogtreecommitdiff
path: root/misc/ophcrack/ophcrack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ophcrack/ophcrack.SlackBuild')
-rw-r--r--misc/ophcrack/ophcrack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/ophcrack/ophcrack.SlackBuild b/misc/ophcrack/ophcrack.SlackBuild
index 88eeee378433e..105b04c645c7c 100644
--- a/misc/ophcrack/ophcrack.SlackBuild
+++ b/misc/ophcrack/ophcrack.SlackBuild
@@ -2,6 +2,8 @@
# Slackware build script for ophcrack
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ophcrack
VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
@@ -15,7 +17,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}