summaryrefslogtreecommitdiff
path: root/games/adom/adom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/adom/adom.SlackBuild')
-rw-r--r--games/adom/adom.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/adom/adom.SlackBuild b/games/adom/adom.SlackBuild
index bcf6ae63ba..747f1b5a49 100644
--- a/games/adom/adom.SlackBuild
+++ b/games/adom/adom.SlackBuild
@@ -6,6 +6,8 @@
# ADOM ships as a binary, so this script just wraps it up
# in a clean .tgz package, ready to be installed.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=adom
VERSION=${VERSION:-3.3.3}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}