aboutsummaryrefslogtreecommitdiff
path: root/libraries/jbigkit/jbigkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jbigkit/jbigkit.SlackBuild')
-rw-r--r--libraries/jbigkit/jbigkit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/jbigkit/jbigkit.SlackBuild b/libraries/jbigkit/jbigkit.SlackBuild
index c9b83a41eb83..b599f09a08e9 100644
--- a/libraries/jbigkit/jbigkit.SlackBuild
+++ b/libraries/jbigkit/jbigkit.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for jbigkit
# Written by Iskar Enev <iskar.enev[@]gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jbigkit
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-2}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}