]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: delay expansion of $ECHO until the wrapper script runs
authorPeter Rosin <peda@lysator.liu.se>
Tue, 13 May 2014 09:47:54 +0000 (11:47 +0200)
committerPeter Rosin <peda@lysator.liu.se>
Tue, 13 May 2014 09:47:54 +0000 (11:47 +0200)
commitac180507c123469d0fe9b25437d459af24b3f789
tree15db922fde55f35e7002d9b77e219366e2716ec1
parent13aa364c0c66f9f6b41f98772d0735039ac974a1
libtool: delay expansion of $ECHO until the wrapper script runs

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>
build-aux/ltmain.in