summaryrefslogtreecommitdiffstats
path: root/libraries/pthsem/pthsem.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pthsem/pthsem.SlackBuild')
-rw-r--r--libraries/pthsem/pthsem.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/pthsem/pthsem.SlackBuild b/libraries/pthsem/pthsem.SlackBuild
index 99c04dfb8a..a0210cf64c 100644
--- a/libraries/pthsem/pthsem.SlackBuild
+++ b/libraries/pthsem/pthsem.SlackBuild
@@ -4,6 +4,8 @@
# Written by V'yacheslav Stetskevych
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pthsem
VERSION=${VERSION:-2.0.8}
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}