diff options
author | Andreas Schwab <schwab@suse.de> | 2007-11-15 14:06:12 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-11-15 14:06:12 +0100 |
commit | 9c31db8cc416daaf52b231361ab5872050ee97ff (patch) | |
tree | 229c1f284607e11ac99e68981e1739695bf1abf5 | |
parent | 2ed532618f1df9efa39b94bb2507319f48b650cf (diff) | |
download | coreutils-9c31db8cc416daaf52b231361ab5872050ee97ff.tar.xz |
* m4/include-exclude-prog.m4 (gl_REMOVE_PROG): Fix syntax error.
Remove trailing space from result.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | m4/include-exclude-prog.m4 | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-11-15 Andreas Schwab <schwab@suse.de> + + * m4/include-exclude-prog.m4 (gl_REMOVE_PROG): Fix syntax error. + Remove trailing space from result. + 2007-11-15 Jim Meyering <meyering@redhat.com> Avoid misbehavior of a cross-device "mv" or "install". diff --git a/m4/include-exclude-prog.m4 b/m4/include-exclude-prog.m4 index d0addc776..c5e31d9a1 100644 --- a/m4/include-exclude-prog.m4 +++ b/m4/include-exclude-prog.m4 @@ -20,7 +20,8 @@ AC_DEFUN([gl_ADD_PROG], AC_DEFUN([gl_REMOVE_PROG], [{ $1=`for gl_rem_i in $$1; do - test "$gl_rem_i" = "$2" || echo "$gl_rem_i" done | tr '\012' ' '; echo` + test "$gl_rem_i" = "$2" || echo "$gl_rem_i" + done | tr '\012' ' ' | sed 's/ $//'; echo` }]) # Given the name of a variable containing a space-separated list of |