From 2ef209c67ff7cee6191f64a7a65aca53b021aec9 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 5 Jun 2012 17:43:43 +0200 Subject: [PATCH] make scripts executable --- bat2geomap.py | 0 bat2nodes.py | 0 mkmap.sh | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 bat2geomap.py mode change 100644 => 100755 bat2nodes.py diff --git a/bat2geomap.py b/bat2geomap.py old mode 100644 new mode 100755 diff --git a/bat2nodes.py b/bat2nodes.py old mode 100644 new mode 100755 diff --git a/mkmap.sh b/mkmap.sh index 578f73d..a9a0292 100755 --- a/mkmap.sh +++ b/mkmap.sh @@ -5,8 +5,8 @@ DEST=$1 GWS=`(/usr/sbin/batctl gwl -n | tail -n +2 | grep -v '^No' | sed 's/=>//' | awk '{ print $1 }') | while read a; do echo -n "-g $a "; done` -/usr/sbin/batctl vd json | python "$(dirname "$0")"/bat2nodes.py -a "$(dirname "$0")"/aliases.json $GWS - > $DEST/nodes.json.new -/usr/sbin/batctl vd json | python "$(dirname "$0")"/bat2geomap.py -a "$(dirname "$0")"/aliases.json - > $DEST/geomap.kml.new +/usr/sbin/batctl vd json | "$(dirname "$0")"/bat2nodes.py -a "$(dirname "$0")"/aliases.json $GWS - > $DEST/nodes.json.new +/usr/sbin/batctl vd json | "$(dirname "$0")"/bat2geomap.py -a "$(dirname "$0")"/aliases.json - > $DEST/geomap.kml.new mv $DEST/nodes.json.new $DEST/nodes.json mv $DEST/geomap.kml.new $DEST/geomap.kml