automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: tests: give input file to sed.


From: Karl Berry
Subject: [automake-commit] branch master updated: tests: give input file to sed.
Date: Wed, 15 Nov 2023 13:37:33 -0500

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=458bc6adcb7f715f393b9b2f67c568103c342976

The following commit(s) were added to refs/heads/master by this push:
     new 458bc6adc tests: give input file to sed.
458bc6adc is described below

commit 458bc6adcb7f715f393b9b2f67c568103c342976
Author: Karl Berry <karl@freefriends.org>
AuthorDate: Wed Nov 15 10:37:22 2023 -0800

    tests: give input file to sed.
    
    * t/posixtarget.sh: sed ... Makefile | grep,
    not sed ... | grep Makefile, to avoid waiting forever on stdin.
---
 t/posixtarget.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/posixtarget.sh b/t/posixtarget.sh
index ffe7abd54..54f0aac7b 100644
--- a/t/posixtarget.sh
+++ b/t/posixtarget.sh
@@ -35,9 +35,9 @@ $AUTOCONF
 $AUTOMAKE
 
 # .POSIX should be the first non-blank non-comment line.
-sed -e '/^$/d' -e '/^ *#/d' -e 1q | grep '^\.POSIX:' Makefile.in
+sed -e '/^$/d' -e '/^ *#/d' -e 1q Makefile.in | grep '^\.POSIX:'
 
 ./configure
 # Although we aren't responsible for what autoconf does, check that the
 # result is as expected, since we're here.
-sed -e '/^$/d' -e '/^ *#/d' -e 1q | grep '^\.POSIX:' Makefile
+sed -e '/^$/d' -e '/^ *#/d' -e 1q Makefile | grep '^\.POSIX:'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]