Expanding $ECHO too early leads to unquoted \n when ECHO='printf %s\n'.
Fixes bug#17478. Reported by Egmont Koblinger.
* build-aux/ltmain.in (func_emit_wrapper) [fast_install]: Quote the
$ECHO, and delay the expansion.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
if test -n \"\$relink_command\"; then
if relink_command_output=\`eval \$relink_command 2>&1\`; then :
else
- $ECHO \"\$relink_command_output\" >&2
+ \$ECHO \"\$relink_command_output\" >&2
$RM \"\$progdir/\$file\"
exit 1
fi