diff options
author | Jim Meyering <jim@meyering.net> | 2007-07-13 14:12:01 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-07-13 14:12:01 +0200 |
commit | d26ba897eb944b84e4af7e1744e12b98803ccc4c (patch) | |
tree | a8f7ca6e6db1e2c78d47f8f31c50193ccf14a8b3 | |
parent | cee14cc42f91f1245b18d3e2e9968e841ff85e50 (diff) | |
download | coreutils-d26ba897eb944b84e4af7e1744e12b98803ccc4c.tar.xz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2007-07-13 Jim Meyering <jim@meyering.net> + + 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 <jim@meyering.net> Expand default-no-install prog list in ./configure --help output, diff --git a/configure.ac b/configure.ac index 2f9f4cc80..6b5f37388 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/ $//'` |