aboutsummaryrefslogtreecommitdiffstats
path: root/build/build.xml
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-03-30 13:37:12 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-03-30 13:37:12 +0200
commit5baa18077698f16e2471ccb4828872287fbe4f09 (patch)
treeaf7d68b49278fb0f3986c1d9e62df24647fcda51 /build/build.xml
parentc80a63a601f479df82da23cae1b2d3aacab49c1c (diff)
downloadjquery-ui-5baa18077698f16e2471ccb4828872287fbe4f09.tar.gz
jquery-ui-5baa18077698f16e2471ccb4828872287fbe4f09.zip
Build: Fix regeex for checksum-file-path
Diffstat (limited to 'build/build.xml')
-rw-r--r--build/build.xml3
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>