summaryrefslogtreecommitdiffstats
path: root/libraries/wxGTK/wxGTK.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/wxGTK/wxGTK.SlackBuild')
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 134842b038..6824e3e45b 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -27,6 +27,8 @@
# Lots of key help from Eric Hameleers and the SBo admins.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wxGTK
VERSION=${VERSION:-2.8.12}
BUILD=${BUILD:-3}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}