diff --git a/create-geojson.sh b/create-geojson.sh index 6444a5c..c390e56 100755 --- a/create-geojson.sh +++ b/create-geojson.sh @@ -6,16 +6,18 @@ for file in *.csv ; do echo "file exists: ${out}, skipping." continue fi - #~ echo ./lookup.py "${file}" - #~ ./lookup.py "${file}" > "${out}" + echo ./lookup.py "${file}" + ./lookup.py "${file}" > "${out}" - fs=$(stat -t "${out}" |cut -d" " -f2) - data="vebit-geojson/" + #~ fs=$(stat -t "${out}" |cut -d" " -f2) + #~ data="vebit-geojson/" - if test $fs -gt 0 -a -d "$data" ; then - cp -f "${out}" "$data" - cd "$data" - git commit "${out}" -m "update file" && git push - fi + #~ if test "$fs" -gt 0 ; then + #~ if test -d "$data" ; then + #~ cp -f "${out}" "$data" + #~ cd "$data" + #~ git commit "${out}" -m "update file" && git push + #~ fi + #~ fi done