diff options
| author | Stefan Bodewig <bodewig@apache.org> | 2017-01-14 18:59:12 +0100 |
|---|---|---|
| committer | Stefan Bodewig <bodewig@apache.org> | 2017-01-14 18:59:12 +0100 |
| commit | 8d03bfd672247e72a6b8b93dbb27ecbe5c432727 (patch) | |
| tree | cbc8ac00ceedc69a22c095c15c12e2956ca00e4e /src/script/ant | |
| parent | 022cee192e61a8306d1d46e44666d9612cfb1482 (diff) | |
| download | ant-8d03bfd672247e72a6b8b93dbb27ecbe5c432727.tar.gz | |
trim whitespace
Diffstat (limited to 'src/script/ant')
| -rw-r--r-- | src/script/ant | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/ant b/src/script/ant index d98168c56..8252d779c 100644 --- a/src/script/ant +++ b/src/script/ant @@ -63,7 +63,7 @@ for arg in "$@" ; do # Solaris sed only processes lines with trailing newline, passing in an extra newline # subshell (heirloom and posix) will trim the added trailing newline esc_arg="`printf '%s\n' "$esc_arg" | sed -e 's@\([$\"\`\\]\)@\\\\\\1@g' `" - + if [ "$PROTECT_NL" = "true" ] ; then # remove the padding X added above, this syntax is POSIX compatible but not heirloom-sh esc_arg="${esc_arg%X}" |
