diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-11-26 02:17:16 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-11-26 02:17:16 +0000 |
commit | 9f648c49dba0d372e41b79c0805ea07033b5fa51 (patch) | |
tree | bb27644603a52947da6a0c8ad34d2b2d282b95ab /build | |
parent | d2a335cabd570c1c6299597a8fa878f26cd4ff83 (diff) | |
download | jquery-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')
-rw-r--r-- | build/build.xml | 3 |
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}" /> |