[ovs-dev] [PATCH] xenserver: Fix rule for generating xenserver/openvswitch-xen.spec.

Justin Pettit jpettit at nicira.com
Fri Mar 2 17:56:38 UTC 2012


Looks good to me.

--Justin


On Mar 2, 2012, at 9:25 AM, Ben Pfaff wrote:

> Commands in Makefiles have to begin with a hard tab, otherwise they are
> ignored, which is what happened here.
> 
> Fixes "make distcheck".
> 
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> xenserver/automake.mk |    6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/xenserver/automake.mk b/xenserver/automake.mk
> index c443bdd..cb6016f 100644
> --- a/xenserver/automake.mk
> +++ b/xenserver/automake.mk
> @@ -27,6 +27,6 @@ EXTRA_DIST += \
> 	xenserver/usr_share_openvswitch_scripts_sysconfig.template
> 
> $(srcdir)/xenserver/openvswitch-xen.spec: xenserver/openvswitch-xen.spec.in $(top_builddir)/config.status
> -  ($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
> -    < $(srcdir)/xenserver/$(@F).in > $(@F).tmp || exit 1; \
> -  if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
> +	($(ro_shell) && sed -e 's,[@]VERSION[@],$(VERSION),g') \
> +		< $(srcdir)/xenserver/$(@F).in > $(@F).tmp || exit 1; \
> +	if cmp -s $(@F).tmp $@; then touch $@; rm $(@F).tmp; else mv $(@F).tmp $@; fi
> -- 
> 1.7.2.5
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list