From dc08febea1fc0a8c902dfa89d0abc2952873529b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 13 Dec 2021 03:03:13 +0100 Subject: [PATCH] gnulib-tool: Fix mistake in last commit. --- gnulib-tool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnulib-tool b/gnulib-tool index 878b9588f2..58e1859c54 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -5844,11 +5844,11 @@ s,//*$,/,' # _AC_LIBOBJ_ALLOCA, invoked from AC_FUNC_ALLOCA. # All the m4_pushdef/m4_popdef logic in func_emit_initmacro_start/_end # does not help to avoid this error. - if grep ' lib/alloca\.c$' "$tmp"/new-files; then + if grep ' lib/alloca\.c$' "$tmp"/new-files >/dev/null; then # alloca.c will be present in $sourcebase. echo " AC_CONFIG_LIBOBJ_DIR([$sourcebase])" else - if grep ' tests=lib/alloca\.c$' "$tmp"/new-files; then + if grep ' tests=lib/alloca\.c$' "$tmp"/new-files >/dev/null; then # alloca.c will be present in $testsbase. echo " AC_CONFIG_LIBOBJ_DIR([$testsbase])" fi -- 2.39.5