summaryrefslogtreecommitdiffstats
path: root/system/makepasswd/makepasswd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/makepasswd/makepasswd.SlackBuild')
-rw-r--r--system/makepasswd/makepasswd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/makepasswd/makepasswd.SlackBuild b/system/makepasswd/makepasswd.SlackBuild
index a9e79be9c0..d6e0fdde3b 100644
--- a/system/makepasswd/makepasswd.SlackBuild
+++ b/system/makepasswd/makepasswd.SlackBuild
@@ -17,6 +17,8 @@
# - install HTML doc to /usr/doc/$PRGNAM-$VERSION, not /usr/man/html1
# - script cosmetic cleanups
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=makepasswd
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}