aboutsummaryrefslogtreecommitdiff
path: root/development/jam/jam.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/jam/jam.SlackBuild')
-rw-r--r--development/jam/jam.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/jam/jam.SlackBuild b/development/jam/jam.SlackBuild
index fa68e61161fa..310be47b728a 100644
--- a/development/jam/jam.SlackBuild
+++ b/development/jam/jam.SlackBuild
@@ -24,6 +24,8 @@
# Thanks to Andrew Brouwers for some improvements.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jam
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-2}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}