Browse Source

trim whitespace

master
Stefan Bodewig 8 years ago
parent
commit
8d03bfd672
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/script/ant

+ 1
- 1
src/script/ant View File

@@ -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}"


Loading…
Cancel
Save