aboutsummaryrefslogtreecommitdiff
path: root/libraries/jbig2dec/jbig2dec.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbig2dec/jbig2dec.SlackBuild')
-rw-r--r--libraries/jbig2dec/jbig2dec.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/jbig2dec/jbig2dec.SlackBuild b/libraries/jbig2dec/jbig2dec.SlackBuild
index 3c0ffa55c285b..3ab8bcfbfb652 100644
--- a/libraries/jbig2dec/jbig2dec.SlackBuild
+++ b/libraries/jbig2dec/jbig2dec.SlackBuild
@@ -39,6 +39,8 @@
# - Use 'make install-strip'
# - Added 'how to edit' stuff to slack-desc
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jbig2dec
VERSION=${VERSION:-0.19}
BUILD=${BUILD:-1}
@@ -52,7 +54,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}