netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup")
@ 2019-01-01 15:53 Firas Khalil Khana
  0 siblings, 0 replies; 2+ messages in thread
From: Firas Khalil Khana @ 2019-01-01 15:53 UTC (permalink / raw)
  To: netdev; +Cc: Firas Khalil Khana

Signed-off-by: Firas Khalil Khana <firasuke@gmail.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index b85eb58b..45fcffb6 100755
--- a/configure
+++ b/configure
@@ -115,7 +115,7 @@ EOF
 check_xt_old_internal_h()
 {
     # bail if previous XT checks has already succeeded.
-    grep -q if grep -q TC_CONFIG_XT $CONFIG && return
+    grep -q TC_CONFIG_XT $CONFIG && return
 
     #check if we need our own internal.h
     cat >$TMPDIR/ipttest.c <<EOF
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH iproute2] configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup")
@ 2019-01-01 15:54 Firas Khalil Khana
  0 siblings, 0 replies; 2+ messages in thread
From: Firas Khalil Khana @ 2019-01-01 15:54 UTC (permalink / raw)
  To: netdev; +Cc: Firas Khalil Khana

Commit 377a09902a57 (lines 72 through 76) included a minor code cleanup
to configure, this caused the following error when running ./configure:

grep: grep: No such file or directory
grep: TC_CONFIG_XT: No such file or directory

This patch fixes the error shown above caused by commit 377a09902a57.

Signed-off-by: Firas Khalil Khana <firasuke@gmail.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index b85eb58b..45fcffb6 100755
--- a/configure
+++ b/configure
@@ -115,7 +115,7 @@ EOF
 check_xt_old_internal_h()
 {
     # bail if previous XT checks has already succeeded.
-    grep -q if grep -q TC_CONFIG_XT $CONFIG && return
+    grep -q TC_CONFIG_XT $CONFIG && return
 
     #check if we need our own internal.h
     cat >$TMPDIR/ipttest.c <<EOF
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-01 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-01 15:54 [PATCH iproute2] configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup") Firas Khalil Khana
  -- strict thread matches above, loose matches on Subject: below --
2019-01-01 15:53 Firas Khalil Khana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).