aboutsummaryrefslogtreecommitdiff
path: root/development/p4d/p4d.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/p4d/p4d.SlackBuild')
-rw-r--r--development/p4d/p4d.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/p4d/p4d.SlackBuild b/development/p4d/p4d.SlackBuild
index 786bdf1b6c854..01e471c9d40c1 100644
--- a/development/p4d/p4d.SlackBuild
+++ b/development/p4d/p4d.SlackBuild
@@ -4,6 +4,8 @@
# Based on Slackbuild script for p4 by Andy Bailey <GooseYArd@gmail.com>
# Written by David Sullins <david.sullins@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4d
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}