oops, thank you.

On Tue, Jul 18, 2017 at 2:12 AM, Ben Pfaff <b...@ovn.org> wrote:

> GNU (at least) printf interprets -I as an option, but we want to print it
> literally, so use %s.
>
> CC: YAMAMOTO Takashi <yamam...@ovn.org>
> Fixes: 27d41afaa446 ("acinclude.m4: Avoid echo -n")
> Signed-off-by: Ben Pfaff <b...@ovn.org>
> ---
>  acinclude.m4 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 05c57b88d68e..e7affc514811 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -968,7 +968,7 @@ dnl ctags ignores symbols with extras identifiers.
> This builds a list of
>  dnl specially handled identifiers to be ignored.
>  AC_DEFUN([OVS_CTAGS_IDENTIFIERS],
>      AC_SUBST([OVS_CTAGS_IDENTIFIERS_LIST],
> -           [`printf '-I "'; sed -n 's/^#define
> \(OVS_[A-Z_]\+\)(\.\.\.)$/\1+/p' ${srcdir}/include/openvswitch/compiler.h
> | tr \\\n ' ' ; printf '"'`] ))
> +           [`printf %s '-I "'; sed -n 's/^#define
> \(OVS_[A-Z_]\+\)(\.\.\.)$/\1+/p' ${srcdir}/include/openvswitch/compiler.h
> | tr \\\n ' ' ; printf '"'`] ))
>
>  dnl OVS_PTHREAD_SET_NAME
>  dnl
> --
> 2.10.2
>
>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to