aboutsummaryrefslogtreecommitdiff
path: root/games/advancescan/advancescan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/advancescan/advancescan.SlackBuild')
-rw-r--r--games/advancescan/advancescan.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/advancescan/advancescan.SlackBuild b/games/advancescan/advancescan.SlackBuild
index e881fa0adce5a..33d0fbf07c96e 100644
--- a/games/advancescan/advancescan.SlackBuild
+++ b/games/advancescan/advancescan.SlackBuild
@@ -16,6 +16,8 @@
# - Install .txt docs without CRLF line endings.
# - Minor script cleanups.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=advancescan
VERSION=${VERSION:-1.18}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}