aboutsummaryrefslogtreecommitdiff
path: root/libraries/libsmdev/libsmdev.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libsmdev/libsmdev.SlackBuild')
-rw-r--r--libraries/libsmdev/libsmdev.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libsmdev/libsmdev.SlackBuild b/libraries/libsmdev/libsmdev.SlackBuild
index 0f2db5542492b..97345ef4e2a63 100644
--- a/libraries/libsmdev/libsmdev.SlackBuild
+++ b/libraries/libsmdev/libsmdev.SlackBuild
@@ -24,6 +24,8 @@
# Updated v20181227 Jan 2019
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsmdev
VERSION=${VERSION:-20181227}
STATUS=${STATUS:-alpha}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}