aboutsummaryrefslogtreecommitdiff
path: root/system/pwman/pwman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pwman/pwman.SlackBuild')
-rw-r--r--system/pwman/pwman.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pwman/pwman.SlackBuild b/system/pwman/pwman.SlackBuild
index cb3c7dd8efd0..45fafc5be28d 100644
--- a/system/pwman/pwman.SlackBuild
+++ b/system/pwman/pwman.SlackBuild
@@ -21,6 +21,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pwman
VERSION=${VERSION:-0.4.5}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}