aboutsummaryrefslogtreecommitdiff
path: root/games/naev/naev.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/naev/naev.SlackBuild')
-rw-r--r--games/naev/naev.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/naev/naev.SlackBuild b/games/naev/naev.SlackBuild
index ca9511e73615e..71443d42a89e8 100644
--- a/games/naev/naev.SlackBuild
+++ b/games/naev/naev.SlackBuild
@@ -21,6 +21,8 @@
# see fit. Or as I see fit. Or as I fit. Although
# that is unlikely, as I am rather tall.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=naev
VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}