aboutsummaryrefslogtreecommitdiff
path: root/graphics/dia/dia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dia/dia.SlackBuild')
-rw-r--r--graphics/dia/dia.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/dia/dia.SlackBuild b/graphics/dia/dia.SlackBuild
index 27caaa85a1b58..2f23499c7c3da 100644
--- a/graphics/dia/dia.SlackBuild
+++ b/graphics/dia/dia.SlackBuild
@@ -15,6 +15,8 @@
# 19.09.2015:
# * reviewed and updated for dia 0.97.3.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=dia
VERSION=${VERSION:-0.97.3}
BUILD=${BUILD:-2}
@@ -28,7 +30,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}