Ignore *.msg files in editor scripts.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@9442 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
3c70fe1a05
commit
655db8cd06
|
@ -316,7 +316,8 @@ while (it.hasNext()) {
|
||||||
File file = it.next();
|
File file = it.next();
|
||||||
if (file.isFile()
|
if (file.isFile()
|
||||||
&& file.getPath().startsWith(rootDirectory)
|
&& file.getPath().startsWith(rootDirectory)
|
||||||
&& !file.getName().equalsIgnoreCase("README")) {
|
&& !file.getName().equalsIgnoreCase("README")
|
||||||
|
&& !file.getName().endsWith(".msg")) {
|
||||||
convertMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
convertMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,8 @@ while (it.hasNext()) {
|
||||||
File file = it.next();
|
File file = it.next();
|
||||||
if (file.isFile()
|
if (file.isFile()
|
||||||
&& file.getPath().startsWith(rootDirectory)
|
&& file.getPath().startsWith(rootDirectory)
|
||||||
&& !file.getName().equalsIgnoreCase("README")) {
|
&& !file.getName().equalsIgnoreCase("README")
|
||||||
|
&& !file.getName().endsWith(".msg")) {
|
||||||
normalizeMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
normalizeMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,7 +87,8 @@ try {
|
||||||
File file = it.next();
|
File file = it.next();
|
||||||
if (file.isFile()
|
if (file.isFile()
|
||||||
&& file.getPath().startsWith(rootDirectory)
|
&& file.getPath().startsWith(rootDirectory)
|
||||||
&& !file.getName().equalsIgnoreCase("README")) {
|
&& !file.getName().equalsIgnoreCase("README")
|
||||||
|
&& !file.getName().endsWith(".msg")) {
|
||||||
checkMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
checkMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue