aboutsummaryrefslogtreecommitdiff
path: root/python/buildbot-slave/buildbot-slave.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/buildbot-slave/buildbot-slave.SlackBuild')
-rw-r--r--python/buildbot-slave/buildbot-slave.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/buildbot-slave/buildbot-slave.SlackBuild b/python/buildbot-slave/buildbot-slave.SlackBuild
index fc830f510ae62..8d0693bfedd7c 100644
--- a/python/buildbot-slave/buildbot-slave.SlackBuild
+++ b/python/buildbot-slave/buildbot-slave.SlackBuild
@@ -24,6 +24,8 @@
#
# Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=buildbot-slave
VERSION=${VERSION:-0.8.12}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}