diff --git a/src/osm/jp/coverage/busstop/Busstop.java b/src/osm/jp/coverage/busstop/Busstop.java index 103eb56..067390c 100644 --- a/src/osm/jp/coverage/busstop/Busstop.java +++ b/src/osm/jp/coverage/busstop/Busstop.java @@ -136,6 +136,7 @@ File outFile = new File(gmldir, "update.sql"); if (outFile.isFile()) { outFile.delete(); + outFile = new File(gmldir, "update.sql"); } ow = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outFile), "UTF-8")); diff --git a/src/update.sh b/src/update.sh index 00fe588..2db7016 100755 --- a/src/update.sh +++ b/src/update.sh @@ -1,3 +1,4 @@ java -cp .:osmCoverage.jar:hayashi_0225.jar:postgresql-9.4.1212.jar:hsqldb_2.2.9.jar osm.jp.coverage.busstop.Busstop -update java -cp .:osmCoverage.jar:hayashi_0225.jar:postgresql-9.4.1212.jar osm.jp.postgis.Do_sqlfiles -update java -cp .:osmCoverage.jar:hayashi_0225.jar:postgresql-9.4.1212.jar:hsqldb_2.2.9.jar osm.jp.coverage.busstop.Coverage coverage.csv +git commit -a -m "coverage update"