aboutsummaryrefslogtreecommitdiff
path: root/system/bit-babbler/bit-babbler.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/bit-babbler/bit-babbler.SlackBuild')
-rw-r--r--system/bit-babbler/bit-babbler.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/bit-babbler/bit-babbler.SlackBuild b/system/bit-babbler/bit-babbler.SlackBuild
index a07c5a8e8028e..4883fce7cba44 100644
--- a/system/bit-babbler/bit-babbler.SlackBuild
+++ b/system/bit-babbler/bit-babbler.SlackBuild
@@ -20,6 +20,8 @@
## The BitBabbler software itself remains a copyrighted work. Please
## see the file 'copyright' in the bit-babbler source distribution.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=bit-babbler
VERSION=${VERSION:-0.8}
BUILD=${BUILD:-2}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}