aboutsummaryrefslogtreecommitdiff
path: root/games/sdlpop/sdlpop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/sdlpop/sdlpop.SlackBuild')
-rw-r--r--games/sdlpop/sdlpop.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/sdlpop/sdlpop.SlackBuild b/games/sdlpop/sdlpop.SlackBuild
index 1e75806099f4..181e70e9a1b4 100644
--- a/games/sdlpop/sdlpop.SlackBuild
+++ b/games/sdlpop/sdlpop.SlackBuild
@@ -17,6 +17,8 @@
# - update man page (new 1.17 options).
# - update wrapper script to support both system-wide and per-user mods.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sdlpop
VERSION=${VERSION:-1.21}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}