From: Jim Meyering Date: Fri, 13 Jul 2007 12:12:01 +0000 (+0200) Subject: Use proper backslash-quoting inside backticks. X-Git-Tag: v6.9.89~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d26ba897eb944b84e4af7e1744e12b98803ccc4c;p=thirdparty%2Fcoreutils.git Use proper backslash-quoting inside backticks. * configure.ac: Otherwise we run afoul of strict GNU tr: a string ending in a lone backslash would provoke a failure. --- diff --git a/ChangeLog b/ChangeLog index a52da5d4ce..a7f78f3d92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-13 Jim Meyering + + Use proper backslash-quoting inside backticks. + * configure.ac: Otherwise we run afoul of strict GNU tr: + a string ending in a lone backslash would provoke a failure. + 2007-07-12 Jim Meyering Expand default-no-install prog list in ./configure --help output, diff --git a/configure.ac b/configure.ac index 2f9f4cc80f..6b5f37388a 100644 --- a/configure.ac +++ b/configure.ac @@ -256,7 +256,7 @@ mk="$srcdir/src/Makefile.am" v=EXTRA_PROGRAMS for gl_i in `sed -n '/^'$v' =/,/[[^\]]$/p' $mk \ | sed 's/^ *//;/^\$.*/d;/^'$v' =/d' \ - | tr -s '\012\\' ' '`; do + | tr -s '\\012\\\\' ' '`; do gl_ADD_PROG([optional_bin_progs], $gl_i) done @@ -265,7 +265,7 @@ done v=no_install__progs t=`sed -n '/^'$v' =/,/[[^\]]$/p' $mk \ | sed 's/^ *//;/^\$.*/d;/^'$v' =/d' \ - | tr -s '\012\\' ' '` + | tr -s '\\012\\\\' ' '` # Remove any trailing space. no_install_progs_default=`echo "$t"|sed 's/ $//'`