From 352d00e7a4628edafbcb6fb56a8ad5338b25e493 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 7 Feb 2014 10:53:22 +0100 Subject: [PATCH] mkmap.sh: cd into directory instead of dirname everywhere --- mkmap.sh | 8 +++++--- 1 file 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