aboutsummaryrefslogtreecommitdiff
path: root/development/p4v/p4v.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/p4v/p4v.SlackBuild')
-rw-r--r--development/p4v/p4v.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/p4v/p4v.SlackBuild b/development/p4v/p4v.SlackBuild
index e3cde4436e1ab..715b62c098f2a 100644
--- a/development/p4v/p4v.SlackBuild
+++ b/development/p4v/p4v.SlackBuild
@@ -29,6 +29,8 @@
# Mon Aug 30 11:39:47 EDT 2010: add version discovery (rab)
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4v
VERSION=${VERSION:-2017.2.1573260}
BUILD=${BUILD:-1}
@@ -48,7 +50,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}