aboutsummaryrefslogtreecommitdiff
path: root/system/pwgen/pwgen.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pwgen/pwgen.SlackBuild')
-rw-r--r--system/pwgen/pwgen.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pwgen/pwgen.SlackBuild b/system/pwgen/pwgen.SlackBuild
index ee63e8f9efd65..f067b457b3cd5 100644
--- a/system/pwgen/pwgen.SlackBuild
+++ b/system/pwgen/pwgen.SlackBuild
@@ -29,6 +29,8 @@
# Modified by the SlackBuilds.org project
# No additional license terms added
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pwgen
VERSION=${VERSION:-2.07}
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}