summaryrefslogtreecommitdiffstats
path: root/network/gophernicus/gophernicus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/gophernicus/gophernicus.SlackBuild')
-rw-r--r--network/gophernicus/gophernicus.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/gophernicus/gophernicus.SlackBuild b/network/gophernicus/gophernicus.SlackBuild
index 5d182b9919..97bd2e3f97 100644
--- a/network/gophernicus/gophernicus.SlackBuild
+++ b/network/gophernicus/gophernicus.SlackBuild
@@ -32,6 +32,8 @@
# - Don't install compile instructions in doc dir.
# - Add git2tarxz.sh to make upgrading easier in the future.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gophernicus
VERSION=${VERSION:-2.5v101}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}