ffmap-backend/mkmap.sh

16 lines
322 B
Bash
Raw Normal View History

2012-02-17 02:09:21 +01:00
#!/bin/bash
2012-06-06 02:21:59 +02:00
set -e
2012-02-17 02:09:21 +01:00
DEST=$1
2012-06-06 02:21:59 +02:00
[ "$DEST" ] || exit 1
cd "$(dirname "$0")"/
./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