forked from vv01f/ccc-map
no commit by default
This commit is contained in:
parent
32452c4596
commit
827654219e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue