On 22 February 2017 at 08:18, Timothy Redaelli <[email protected]> wrote:
> Build check added in commit c458e4a3
>
> Signed-off-by: Timothy Redaelli <[email protected]>
> ---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 7ff66fe..147152d 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -230,7 +230,7 @@ config-h-check:
>           echo "every C source file must #include <config.h>."; \
>           exit 1; \
>         fi
> -       if grep '#include' $(srcdir)/include/openvswitch/*.h | \
> +       @if grep '#include' $(srcdir)/include/openvswitch/*.h | \

I suggest the following instead, does this work for you?

diff --git a/Makefile.am b/Makefile.am
index 7ff66fe15086..a4dd7b8dd16a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -229,8 +229,8 @@ config-h-check:
         echo "See above for list of violations of the rule that"; \
         echo "every C source file must #include <config.h>."; \
         exit 1; \
-       fi
-       if grep '#include' $(srcdir)/include/openvswitch/*.h | \
+       fi; \
+       if grep '#include' include/openvswitch/*.h | \
           grep -vE '(<.*>)|("openvswitch)|("openflow)'; \
       then \
         echo "See above for list of violations of the rule that"; \
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to