summaryrefslogtreecommitdiffstats
path: root/gis/josm/josm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/josm/josm.SlackBuild')
-rw-r--r--gis/josm/josm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/josm/josm.SlackBuild b/gis/josm/josm.SlackBuild
index eae93361b4..ddf8fe4bdd 100644
--- a/gis/josm/josm.SlackBuild
+++ b/gis/josm/josm.SlackBuild
@@ -7,6 +7,8 @@
# http://josm.openstreetmap.de/download/josm-tested.jar
# execute the script with VERSION=tested
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=josm
VERSION=${VERSION:-12450}
BUILD=${BUILD:-1}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}