aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-10-28 10:09:30 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-10-28 10:09:30 +0200
commitba28d11391c64f5e2edd15c5bbc0b11757bdbcda (patch)
treefcd66dc0efed6673444cfba9a9b9751a922e6e51 /build
parent226aa35e39c2a72e3c013f6f7b62e0fe67dff7ae (diff)
downloadjquery-ui-ba28d11391c64f5e2edd15c5bbc0b11757bdbcda.tar.gz
jquery-ui-ba28d11391c64f5e2edd15c5bbc0b11757bdbcda.zip
Build: Fix regex for relative path replacement on cdn target
Diffstat (limited to 'build')
-rw-r--r--build/build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml
index 96a828a11..4cc7c62b6 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -359,7 +359,7 @@
<path><fileset dir="${cdndist.dir}" includes="**/" excludes="**/*.MD5" /></path>
<sequential>
<!-- @{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="@{file}" regexp=".+?cdn[\\/](.+)$" 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>