aboutsummaryrefslogtreecommitdiff
path: root/libraries/libunicap
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libunicap')
-rw-r--r--libraries/libunicap/libunicap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libunicap/libunicap.SlackBuild b/libraries/libunicap/libunicap.SlackBuild
index 5da95849a02df..0729e9dc22329 100644
--- a/libraries/libunicap/libunicap.SlackBuild
+++ b/libraries/libunicap/libunicap.SlackBuild
@@ -5,6 +5,8 @@
# Written by Matteo Bernardini <ponce@slackbuilds.org>
# based on slackbuilds.org default template
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libunicap
VERSION=${VERSION:-0.9.12}
BUILD=${BUILD:-2}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}