aboutsummaryrefslogtreecommitdiff
path: root/development/p4/p4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/p4/p4.SlackBuild')
-rw-r--r--development/p4/p4.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/p4/p4.SlackBuild b/development/p4/p4.SlackBuild
index 154e2eae9e9f..ed7914a1a7a2 100644
--- a/development/p4/p4.SlackBuild
+++ b/development/p4/p4.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andy Bailey <GooseYArd@gmail.com>
# Modified by David Sullins <david.sullins@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4
VERSION=${VERSION:-2018.2.1740258}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}