Ignore *.msg files in editor scripts.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@9442 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2008-07-17 18:42:02 +00:00
parent 3c70fe1a05
commit 655db8cd06
3 changed files with 6 additions and 3 deletions

View File

@ -316,7 +316,8 @@ while (it.hasNext()) {
File file = it.next();
if (file.isFile()
&& file.getPath().startsWith(rootDirectory)
&& !file.getName().equalsIgnoreCase("README")) {
&& !file.getName().equalsIgnoreCase("README")
&& !file.getName().endsWith(".msg")) {
convertMap(file, file.getPath().substring(mapDefaultFolder.length()));
}
}

View File

@ -48,7 +48,8 @@ while (it.hasNext()) {
File file = it.next();
if (file.isFile()
&& file.getPath().startsWith(rootDirectory)
&& !file.getName().equalsIgnoreCase("README")) {
&& !file.getName().equalsIgnoreCase("README")
&& !file.getName().endsWith(".msg")) {
normalizeMap(file, file.getPath().substring(mapDefaultFolder.length()));
}
}

View File

@ -87,7 +87,8 @@ try {
File file = it.next();
if (file.isFile()
&& file.getPath().startsWith(rootDirectory)
&& !file.getName().equalsIgnoreCase("README")) {
&& !file.getName().equalsIgnoreCase("README")
&& !file.getName().endsWith(".msg")) {
checkMap(file, file.getPath().substring(mapDefaultFolder.length()));
}
}