aboutsummaryrefslogtreecommitdiff
path: root/system/hungrycat/hungrycat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hungrycat/hungrycat.SlackBuild')
-rw-r--r--system/hungrycat/hungrycat.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/hungrycat/hungrycat.SlackBuild b/system/hungrycat/hungrycat.SlackBuild
index a0ced53bda67c..57faa2532660b 100644
--- a/system/hungrycat/hungrycat.SlackBuild
+++ b/system/hungrycat/hungrycat.SlackBuild
@@ -10,6 +10,8 @@
# 20170827 bkw: update for v0.4, drop docutils dep now that upstream
# ships a prebuilt man page.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=hungrycat
VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}