aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Schneider <nils@nilsschneider.net>2014-02-07 10:53:22 +0100
committerNils Schneider <nils@nilsschneider.net>2014-02-07 10:53:22 +0100
commit352d00e7a4628edafbcb6fb56a8ad5338b25e493 (patch)
treed424b27c3b21a14ae5f38647b1f01e7b9ba58de8
parentef9d762c939ea3d51d90873dab414f97cf9e91b0 (diff)
mkmap.sh: cd into directory instead of dirname everywhere
-rwxr-xr-xmkmap.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/mkmap.sh b/mkmap.sh
index c18ec39..f241099 100755
--- a/mkmap.sh
+++ b/mkmap.sh
@@ -7,7 +7,9 @@ DEST=$1
[ "$DEST" ] || exit 1
-"$(dirname "$0")"/ffhlwiki.py http://freifunk.metameute.de/wiki/Knoten > "$(dirname "$0")"/aliases_hl.json
-"$(dirname "$0")"/ffhlwiki.py http://freifunk.metameute.de/wiki/Moelln:Knoten > "$(dirname "$0")"/aliases_moelln.json
+cd "$(dirname "$0")"/
-"$(dirname "$0")"/bat2nodes.py -a "$(dirname "$0")"/aliases.json -a aliases_hl.json -a aliases_moelln.json -d $DEST $GWS
+./ffhlwiki.py http://freifunk.metameute.de/wiki/Knoten > aliases_hl.json
+./ffhlwiki.py http://freifunk.metameute.de/wiki/Moelln:Knoten > aliases_moelln.json
+
+./bat2nodes.py -a aliases.json -a aliases_hl.json -a aliases_moelln.json -d $DEST $GWS