Resurrect r37518: Fix build failing when checkout folder contains a dot

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@37678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Samuel Langlois
2012-06-12 14:50:01 +00:00
parent 03d2ff3cd7
commit f1ec786a04

View File

@@ -223,7 +223,7 @@ subprojects {
tree.each {File file ->
destinationFile = new File(file.getPath().replaceFirst('\\.', '-min.'))
destinationFile = new File(file.getPath().replaceFirst('\\.js', '-min.js'))
file.withReader{ reader ->
compressor = new com.yahoo.platform.yui.compressor.JavaScriptCompressor(reader, null)