mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-13 02:42:18 +02:00
* m4/include-exclude-prog.m4 (gl_REMOVE_PROG): Fix syntax error.
Remove trailing space from result.
This commit is contained in:
committed by
Jim Meyering
parent
2ed532618f
commit
9c31db8cc4
@@ -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".
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user