aboutsummaryrefslogtreecommitdiff
path: root/games/open-adventure/open-adventure.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/open-adventure/open-adventure.SlackBuild')
-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 450cf0a97b205..8bab9a32ec59d 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}