aboutsummaryrefslogtreecommitdiff
path: root/system/hwloc/hwloc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hwloc/hwloc.SlackBuild')
-rw-r--r--system/hwloc/hwloc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/hwloc/hwloc.SlackBuild b/system/hwloc/hwloc.SlackBuild
index 86334c75e505..8ea8dca2bf39 100644
--- a/system/hwloc/hwloc.SlackBuild
+++ b/system/hwloc/hwloc.SlackBuild
@@ -4,6 +4,8 @@
# Written by Wainamoinen <wainamoinen@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hwloc
VERSION=${VERSION:-2.2.0}
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}