quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] grep -qe in configure.ac


From: Jean Delvare
Subject: [Quilt-dev] grep -qe in configure.ac
Date: Sun, 18 Sep 2005 11:32:42 +0200

Hi all,

Recent changes introduced the use of "grep -qe" in quilt's configure
script. Not all versions of grep support -e, so this is likely to break
on some platforms. It doesn't seem to be necessary here anyway. No
objection to me dropping that -e?

Thanks.

Index: configure.ac
===================================================================
RCS file: /cvsroot/quilt/quilt/configure.ac,v
retrieving revision 1.45
diff -u -r1.45 configure.ac
--- configure.ac        18 Sep 2005 09:21:21 -0000      1.45
+++ configure.ac        18 Sep 2005 09:27:31 -0000
@@ -67,7 +67,7 @@
   dnl check GNU syntax
   $GETOPT -o t --long test -- --test | grep -q 'illegal option'
   getopt_long_errors=$?
-  $GETOPT -o t --long test -- --test | grep -qe '^ *--test *--'
+  $GETOPT -o t --long test -- --test | grep -q '^ *--test *--'
   getopt_long_works=$?
   if test $getopt_long_errors -eq 1 -a $getopt_long_works -eq 0; then
     AC_MSG_RESULT(yes)


-- 
Jean Delvare




reply via email to

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