diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/build.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml index 780de4157..cdd5aff11 100644 --- a/build/build.xml +++ b/build/build.xml @@ -305,7 +305,8 @@ <for param="file"> <path><fileset dir="${cdndist.dir}" includes="**/" excludes="**/*.MD5" /></path> <sequential> - <propertyregex override="yes" property="relativepath" input="@{file}" regexp=".+?${cdndist.dir}[\\/](.+)$" replace="\1"/> + <!-- @{file} is an absolute path, use that ugly regexes to make it relative --> + <propertyregex override="yes" property="relativepath" input="@{file}" regexp=".+?googlecdn[\\/](.+)$" replace="\1"/> <propertyregex override="yes" property="relativepath" input="${relativepath}" regexp="\\" replace="/" global="true" /> <concat destfile="${cdndist.dir}/MANIFEST" append="yes">${relativepath} </concat> <concat destfile="${cdndist.dir}/MANIFEST" append="yes"><file file="@{file}.MD5" /></concat> |