aboutsummaryrefslogtreecommitdiffstats
path: root/build/build.xml
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-11-26 02:17:16 +0000
committerScott González <scott.gonzalez@gmail.com>2009-11-26 02:17:16 +0000
commit9f648c49dba0d372e41b79c0805ea07033b5fa51 (patch)
treebb27644603a52947da6a0c8ad34d2b2d282b95ab /build/build.xml
parentd2a335cabd570c1c6299597a8fa878f26cd4ff83 (diff)
downloadjquery-ui-9f648c49dba0d372e41b79c0805ea07033b5fa51.tar.gz
jquery-ui-9f648c49dba0d372e41b79c0805ea07033b5fa51.zip
ant build: Fixed file name parsing.
Fixes #4973 - Build fails on non-Windows OS.
Diffstat (limited to 'build/build.xml')
-rw-r--r--build/build.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/build.xml b/build/build.xml
index 4b8887742..da475d6de 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -59,8 +59,7 @@
<for param="file">
<path><fileset dir="${dist.dir}/ui/minified/" includes="*.js" /></path>
<sequential>
- <basename file="@{file}" property="target" />
- <propertyregex override="yes" property="target" input="${target}" regexp="(.+)\.min\.js$" replace="\1"/>
+ <propertyregex override="yes" property="target" input="@{file}" regexp=".*[\\/](.+)\.min\.js$" replace="\1"/>
<concat destfile="${dist.dir}/ui-headered/${target}.min.js">
<header file="${dist.dir}/headers/${target}.js" />
<fileset file="@{file}" />