summaryrefslogtreecommitdiffstats
path: root/games/open-adventure
diff options
context:
space:
mode:
Diffstat (limited to 'games/open-adventure')
-rw-r--r--games/open-adventure/open-adventure.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild
index 450cf0a97b..8bab9a32ec 100644
--- a/games/open-adventure/open-adventure.SlackBuild
+++ b/games/open-adventure/open-adventure.SlackBuild
@@ -15,6 +15,8 @@
# - Include upstream's icon and .desktop.
# - New dependencies in .info file :(
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=open-adventure
VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
@@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}