aboutsummaryrefslogtreecommitdiff
path: root/development/thread/thread.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/thread/thread.SlackBuild')
-rw-r--r--development/thread/thread.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/thread/thread.SlackBuild b/development/thread/thread.SlackBuild
index e71fb5f245b6..9dbdc982623e 100644
--- a/development/thread/thread.SlackBuild
+++ b/development/thread/thread.SlackBuild
@@ -4,6 +4,8 @@
# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=thread
VERSION=${VERSION:-2.8.2}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}