summaryrefslogtreecommitdiffstats
path: root/office/treesheets/treesheets.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/treesheets/treesheets.SlackBuild')
-rw-r--r--office/treesheets/treesheets.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/treesheets/treesheets.SlackBuild b/office/treesheets/treesheets.SlackBuild
index 34cca2b4e3..5ba00b98ce 100644
--- a/office/treesheets/treesheets.SlackBuild
+++ b/office/treesheets/treesheets.SlackBuild
@@ -6,6 +6,8 @@
# Written by Luke Williams ( xocel@iquidus.org )
# license: WTFPL <http://sam.zoy.org/wtfpl/COPYING>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=treesheets
VERSION=${VERSION:-150616}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}