summaryrefslogtreecommitdiff
path: root/system/sdl-jstest
diff options
context:
space:
mode:
Diffstat (limited to 'system/sdl-jstest')
-rw-r--r--system/sdl-jstest/sdl-jstest.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/sdl-jstest/sdl-jstest.SlackBuild b/system/sdl-jstest/sdl-jstest.SlackBuild
index a761f59cfd..fc25bf2a5e 100644
--- a/system/sdl-jstest/sdl-jstest.SlackBuild
+++ b/system/sdl-jstest/sdl-jstest.SlackBuild
@@ -40,6 +40,8 @@
# - upstream now supports both sdl1 and sdl2, build for sdl2 only
# if installed
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sdl-jstest
VERSION=${VERSION:-20180715_aafbdb1}
BUILD=${BUILD:-1}
@@ -53,7 +55,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}