no commit by default

This commit is contained in:
vv01f 2020-04-13 13:46:39 +02:00
parent 32452c4596
commit 827654219e
Signed by untrusted user who does not match committer: vv01f
GPG Key ID: 02625A16AC1D1FF6
1 changed files with 11 additions and 9 deletions

View File

@ -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