ffmap-backend/mkmap.sh
Nils Schneider d38670a5a1 fix mkmap.sh
2013-11-23 22:08:26 +01:00

17 lines
446 B
Bash
Executable file

#!/bin/bash
set -e
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
"$(dirname "$0")"/bat2nodes.py -a "$(dirname "$0")"/aliases.json -a aliases_hl.json -a aliases_moelln.json -d $DEST $GWS -
mv $DEST/nodes.json.new $DEST/nodes.json