aboutsummaryrefslogtreecommitdiff
path: root/libraries/libsmi/libsmi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libsmi/libsmi.SlackBuild')
-rw-r--r--libraries/libsmi/libsmi.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libsmi/libsmi.SlackBuild b/libraries/libsmi/libsmi.SlackBuild
index 26fbd68e26e79..ee6ce61306d51 100644
--- a/libraries/libsmi/libsmi.SlackBuild
+++ b/libraries/libsmi/libsmi.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dušan Stefanović <stefanovic.dusan@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsmi
VERSION=${VERSION:-0.4.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}