summaryrefslogtreecommitdiff
path: root/tools/tmwcon/src/converter
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-08-27 09:45:23 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-08-27 09:45:23 -0700
commitd2390e750b07e76b9786424e36f39deeb9c589b1 (patch)
tree931312981fef8e67a17d5ea76a79146d31e409a8 /tools/tmwcon/src/converter
parentc8e0ce7f52ae0c8c4965170c9a3382005fd4231d (diff)
downloadserverdata-d2390e750b07e76b9786424e36f39deeb9c589b1.tar.gz
serverdata-d2390e750b07e76b9786424e36f39deeb9c589b1.tar.bz2
serverdata-d2390e750b07e76b9786424e36f39deeb9c589b1.tar.xz
serverdata-d2390e750b07e76b9786424e36f39deeb9c589b1.zip
ignore backup files when generating imports
Diffstat (limited to 'tools/tmwcon/src/converter')
-rw-r--r--tools/tmwcon/src/converter/Process.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tmwcon/src/converter/Process.java b/tools/tmwcon/src/converter/Process.java
index bf1e429b..2e0a8646 100644
--- a/tools/tmwcon/src/converter/Process.java
+++ b/tools/tmwcon/src/converter/Process.java
@@ -149,6 +149,7 @@ public class Process {
importOut.printf("map: %s.gat\n", name);
Collections.sort(output_elements);
for (String s : output_elements)
+ if (!s.endsWith("~"))
importOut.print(s + "\n");
importOut.flush();
importOut.close();