aboutsummaryrefslogtreecommitdiff
path: root/system/apg/apg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/apg/apg.SlackBuild')
-rw-r--r--system/apg/apg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/apg/apg.SlackBuild b/system/apg/apg.SlackBuild
index 1dbd67d7c4003..aef0dc4ac9810 100644
--- a/system/apg/apg.SlackBuild
+++ b/system/apg/apg.SlackBuild
@@ -12,6 +12,8 @@
# of requests, and never generates any output. This is low-priority
# because nobody actually *uses* a password-generation TCP service...
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=apg
VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}