summaryrefslogtreecommitdiff
path: root/system/zfs-on-linux
diff options
context:
space:
mode:
Diffstat (limited to 'system/zfs-on-linux')
-rw-r--r--system/zfs-on-linux/zfs-on-linux.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/zfs-on-linux/zfs-on-linux.SlackBuild b/system/zfs-on-linux/zfs-on-linux.SlackBuild
index 7dc7c3a4a6..0d3937cadc 100644
--- a/system/zfs-on-linux/zfs-on-linux.SlackBuild
+++ b/system/zfs-on-linux/zfs-on-linux.SlackBuild
@@ -27,6 +27,8 @@
# Modified by the SlackBuilds.org project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zfs-on-linux
SRCNAM=zfs
VERSION=${VERSION:-0.8.6}
@@ -44,7 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}