aboutsummaryrefslogtreecommitdiff
path: root/games/asc/asc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/asc/asc.SlackBuild')
-rw-r--r--games/asc/asc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/asc/asc.SlackBuild b/games/asc/asc.SlackBuild
index 2929ec3c5810d..43c415e402c29 100644
--- a/games/asc/asc.SlackBuild
+++ b/games/asc/asc.SlackBuild
@@ -25,6 +25,8 @@
# 20200906 bkw: modified by SlackBuilds.org: added patch to support
# physfs 3.0.1.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=asc
VERSION=${VERSION:-2.6.1.0}
BUILD=${BUILD:-2}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}