aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-08-05 18:03:05 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-08-05 18:03:05 +0200
commit1e4fbd95d204b533bdbfe3e757712e3de11783d7 (patch)
treeeef617fee1ede725a30c963d964ff13dabc1b702 /build
parentde266a1275efa405eb7147469fa25274a6b7254b (diff)
downloadjquery-ui-1e4fbd95d204b533bdbfe3e757712e3de11783d7.tar.gz
jquery-ui-1e4fbd95d204b533bdbfe3e757712e3de11783d7.zip
Build: Strip newlines when loading release.version property from version.txt
Diffstat (limited to 'build')
-rw-r--r--build/build.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/build.xml b/build/build.xml
index 3abaa4fa8..eff713432 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -18,7 +18,9 @@
<property file="ant.properties" />
- <loadfile failonerror="no" srcFile="../version.txt" property="release.version" />
+ <loadfile failonerror="no" srcFile="../version.txt" property="release.version">
+ <filterchain><striplinebreaks/></filterchain>
+ </loadfile>
<property name="release.filename" value="jquery-ui-${release.version}" />
<property name="dist.dir" value="dist/${release.filename}/" />