[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] out-of-tree build, python bindings

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 20 Jun 2008 15:18:58 -0500

[Arfrever Frehtes Taifersar Arahesis]
> > - @cp -pf $(SWIG_PY_SRC_DIR)/*.py $(SWIG_PY_DIR)/libsvn
> > + @for f in $(SWIG_PY_SRC_DIR)/*.py $(SWIG_PY_DIR)/*.py; do \
> > + ! [ -f "$$f" ] || cp -pf "$$f" $(SWIG_PY_DIR)/libsvn; \
>
> Wouldn't the following be better?:
> [ -f "$$f" ] && cp -pf "$$f" $(SWIG_PY_DIR)/libsvn; \

Yeah, except that then it sometimes returns false, and 'make' halts
with an error.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-20 22:19:18 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.