aboutsummaryrefslogtreecommitdiff
path: root/development/ghex/ghex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ghex/ghex.SlackBuild')
-rw-r--r--development/ghex/ghex.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/ghex/ghex.SlackBuild b/development/ghex/ghex.SlackBuild
index 616d9616568f..853a2d623d62 100644
--- a/development/ghex/ghex.SlackBuild
+++ b/development/ghex/ghex.SlackBuild
@@ -10,6 +10,8 @@
# no gnome dependencies (just GTK3). Previous versions (2.x) did depend
# on gnome so I never wanted to package them...
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ghex
VERSION=${VERSION:-3.18.4}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}