aboutsummaryrefslogtreecommitdiff
path: root/games/glbsp/glbsp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/glbsp/glbsp.SlackBuild')
-rw-r--r--games/glbsp/glbsp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild
index 03e58d153cafb..00464a981c955 100644
--- a/games/glbsp/glbsp.SlackBuild
+++ b/games/glbsp/glbsp.SlackBuild
@@ -9,6 +9,8 @@
# 20170621 bkw: fix build for -current (post-14.2)
# 20151126 bkw: fix build for -current (preparing for 14.2)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=glbsp
VERSION=${VERSION:-2.24}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}