summaryrefslogtreecommitdiff
path: root/business/beancount/beancount.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'business/beancount/beancount.SlackBuild')
-rw-r--r--business/beancount/beancount.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/business/beancount/beancount.SlackBuild b/business/beancount/beancount.SlackBuild
index 4fb6930b09..913ed947d8 100644
--- a/business/beancount/beancount.SlackBuild
+++ b/business/beancount/beancount.SlackBuild
@@ -5,6 +5,8 @@
# Written by Lionel Young <redtricycle@gmail.com>
# Based on http://slackbuilds.org/template.SlackBuild
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=beancount
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}