aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtsm/libtsm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtsm/libtsm.SlackBuild')
-rw-r--r--libraries/libtsm/libtsm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libtsm/libtsm.SlackBuild b/libraries/libtsm/libtsm.SlackBuild
index 63f52b2482622..9831c5cb1d37a 100644
--- a/libraries/libtsm/libtsm.SlackBuild
+++ b/libraries/libtsm/libtsm.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libtsm
VERSION=${VERSION:-3}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}