aboutsummaryrefslogtreecommitdiff
path: root/graphics/SweetHome3D/SweetHome3D.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/SweetHome3D/SweetHome3D.SlackBuild')
-rw-r--r--graphics/SweetHome3D/SweetHome3D.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/SweetHome3D/SweetHome3D.SlackBuild b/graphics/SweetHome3D/SweetHome3D.SlackBuild
index d508a95de60ef..a676a77d3c496 100644
--- a/graphics/SweetHome3D/SweetHome3D.SlackBuild
+++ b/graphics/SweetHome3D/SweetHome3D.SlackBuild
@@ -36,6 +36,8 @@
# 2.3 24-Jun-2019 version update
# 2.4 23-APR-2020 version update, switch to .jar for openjdk compatibility
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=SweetHome3D
VERSION=${VERSION:-6.3}
BUILD=${BUILD:-1}
@@ -50,7 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}