summaryrefslogtreecommitdiffstats
path: root/system/reptyr/reptyr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/reptyr/reptyr.SlackBuild')
-rw-r--r--system/reptyr/reptyr.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/reptyr/reptyr.SlackBuild b/system/reptyr/reptyr.SlackBuild
index 50dc60c302..037f535a3a 100644
--- a/system/reptyr/reptyr.SlackBuild
+++ b/system/reptyr/reptyr.SlackBuild
@@ -12,6 +12,8 @@
# 20170302 bkw: use long-format github URL
# 20150505 bkw: updated for v0.6.2
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=reptyr
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}