summaryrefslogtreecommitdiff
path: root/system/paxctl/paxctl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/paxctl/paxctl.SlackBuild')
-rw-r--r--system/paxctl/paxctl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/paxctl/paxctl.SlackBuild b/system/paxctl/paxctl.SlackBuild
index 450d2f1343..dd53dd7063 100644
--- a/system/paxctl/paxctl.SlackBuild
+++ b/system/paxctl/paxctl.SlackBuild
@@ -5,6 +5,8 @@
# Copyright 2013 pyllyukko
# All rights reserved.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=paxctl
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}