aboutsummaryrefslogtreecommitdiff
path: root/gis/gmapcatcher/gmapcatcher.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gmapcatcher/gmapcatcher.SlackBuild')
-rw-r--r--gis/gmapcatcher/gmapcatcher.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/gmapcatcher/gmapcatcher.SlackBuild b/gis/gmapcatcher/gmapcatcher.SlackBuild
index 820aa0e878a7a..9ed4533686e44 100644
--- a/gis/gmapcatcher/gmapcatcher.SlackBuild
+++ b/gis/gmapcatcher/gmapcatcher.SlackBuild
@@ -4,6 +4,8 @@
# Written by Pablo Santamaria (pablosantamaria)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gmapcatcher
VERSION=${VERSION:-0.8.0.4}
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}