Fixed *.rawclobber suffix stripping during patching
This commit is contained in:
parent
840fbd15af
commit
dcdec15c0e
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ public class ModPatchThread extends Thread {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( fileName.endsWith( ".xml.rawclobber" ) || fileName.endsWith( ".rawclobber.xml" ) ) {
|
else if ( fileName.endsWith( ".xml.rawclobber" ) || fileName.endsWith( ".rawclobber.xml" ) ) {
|
||||||
|
innerPath = parentPath + fileName.replaceAll( "[.](?:xml[.]rawclobber|rawclobber[.]xml)$", ".xml" );
|
||||||
innerPath = checkCase( innerPath, knownPaths, knownPathsLower );
|
innerPath = checkCase( innerPath, knownPaths, knownPathsLower );
|
||||||
|
|
||||||
log.warn( String.format( "Copying xml as raw text: %s", innerPath ) );
|
log.warn( String.format( "Copying xml as raw text: %s", innerPath ) );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue