aboutsummaryrefslogtreecommitdiff
path: root/libraries/p4api/p4api.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/p4api/p4api.SlackBuild')
-rw-r--r--libraries/p4api/p4api.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/p4api/p4api.SlackBuild b/libraries/p4api/p4api.SlackBuild
index a8293eaf7518b..389028a461ca3 100644
--- a/libraries/p4api/p4api.SlackBuild
+++ b/libraries/p4api/p4api.SlackBuild
@@ -2,6 +2,8 @@
# p4api SlackBuild, R. Bailey <GooseYArd@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=p4api
VERSION=${VERSION:-2010.1.260003}
BUILD=${BUILD:-1}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}