aboutsummaryrefslogtreecommitdiff
path: root/academic/libghemical/libghemical.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/libghemical/libghemical.SlackBuild')
-rw-r--r--academic/libghemical/libghemical.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/libghemical/libghemical.SlackBuild b/academic/libghemical/libghemical.SlackBuild
index 5b2fb65fc15f8..bf31d3f68a0a4 100644
--- a/academic/libghemical/libghemical.SlackBuild
+++ b/academic/libghemical/libghemical.SlackBuild
@@ -4,6 +4,8 @@
# Written by Daniil Bratashov (dn2010@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libghemical
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}