aboutsummaryrefslogtreecommitdiff
path: root/libraries/exempi/exempi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/exempi/exempi.SlackBuild')
-rw-r--r--libraries/exempi/exempi.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/exempi/exempi.SlackBuild b/libraries/exempi/exempi.SlackBuild
index f4ed8b28e7910..1a7717b2c6c68 100644
--- a/libraries/exempi/exempi.SlackBuild
+++ b/libraries/exempi/exempi.SlackBuild
@@ -31,6 +31,8 @@
# - update for v2.5.1
# - various cleanups/changes in script, slack-desc, README
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=exempi
VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}