From: Bruno Haible Date: Mon, 13 Dec 2021 02:03:13 +0000 (+0100) Subject: gnulib-tool: Fix mistake in last commit. X-Git-Tag: v1.0~2531 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dc08febea1fc0a8c902dfa89d0abc2952873529b;p=gnulib.git gnulib-tool: Fix mistake in last commit. --- 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