aboutsummaryrefslogtreecommitdiff
path: root/academic/equalx/equalx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/equalx/equalx.SlackBuild')
-rw-r--r--academic/equalx/equalx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/equalx/equalx.SlackBuild b/academic/equalx/equalx.SlackBuild
index 3c255a389b329..2a73e0f0f7e76 100644
--- a/academic/equalx/equalx.SlackBuild
+++ b/academic/equalx/equalx.SlackBuild
@@ -34,6 +34,8 @@
# - use a .desktop file that validates
# - minor cleanups/etc in script, slack-desc, README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=equalx
VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-2}
@@ -47,7 +49,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}