Fix EOLN issues in md5 files generated for our releases.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 23 Dec 2009 01:53:00 +0000 (01:53 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 23 Dec 2009 01:53:00 +0000 (01:53 +0000)
commit026abc8dfb62d5434079945c18286ddf6adaa3ae
tree0b96aaabccb888e46bda2766fd4f7329d55c249c
parente5ff63385dacb4431802875d224b4a9fbc8d1065
Fix EOLN issues in md5 files generated for our releases.

1. Do not add an EOLN after checksum value.
This was caused by difference in behaviour between Ant 1.6 and 1.7. Ant 1.6 did not add the newline.
We could use 'pattern' or 'format' attributes of the <checksum> task, but those are since Ant 1.7 only, not available in 1.6.5. This solution siplifies code and preserves compatibility with Ant 1.6.

2. Do not add an EOLN after the file name.
I removed ${line.separator} from the echoed text.
If the build is generated on Windows and verified on *nix, extra CR in a file name will cause complaints. I won't object to using an explicit LF here, though.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@893375 13f79535-47bb-0310-9956-ffa450edef68
dist.xml