summaryrefslogtreecommitdiffstats
path: root/network/mod_chroot/mod_chroot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_chroot/mod_chroot.SlackBuild')
-rw-r--r--network/mod_chroot/mod_chroot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/mod_chroot/mod_chroot.SlackBuild b/network/mod_chroot/mod_chroot.SlackBuild
index d45316d4c3..a9c6358f3f 100644
--- a/network/mod_chroot/mod_chroot.SlackBuild
+++ b/network/mod_chroot/mod_chroot.SlackBuild
@@ -7,6 +7,8 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_chroot
VERSION=${VERSION:-0.5}
BUILD=${BUILD:-3}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}