aboutsummaryrefslogtreecommitdiff
path: root/libraries/libnxml/libnxml.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libnxml/libnxml.SlackBuild')
-rw-r--r--libraries/libnxml/libnxml.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libnxml/libnxml.SlackBuild b/libraries/libnxml/libnxml.SlackBuild
index a5bec17b5da3f..f77fc07849781 100644
--- a/libraries/libnxml/libnxml.SlackBuild
+++ b/libraries/libnxml/libnxml.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for libnxml
# Written by Kristaps Esterlins <esterlinsh[at]gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libnxml
VERSION=${VERSION:-0.18.3}
BUILD=${BUILD:-2}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}