mkmap.sh: cd into directory instead of dirname everywhere

This commit is contained in:
Nils Schneider 2014-02-07 10:53:22 +01:00
parent ef9d762c93
commit 352d00e7a4

View file

@ -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