[PATCH 1/1] genenv: ignore *.orig file too

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Sep 16 10:33:28 EDT 2013


On 09:55 Mon 16 Sep     , Sascha Hauer wrote:
> On Sat, Sep 14, 2013 at 06:23:05PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > ---
> >  scripts/genenv | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/scripts/genenv b/scripts/genenv
> > index 374db6d..02af767 100755
> > --- a/scripts/genenv
> > +++ b/scripts/genenv
> > @@ -24,7 +24,7 @@ for i in $*; do
> >  done
> >  )
> >  
> > -find $tempdir -name '.svn' -o -name '*~' | xargs --no-run-if-empty rm -r
> > +find $tempdir -name '*.orig' -o -name '.svn' -o -name '*~' | xargs --no-run-if-empty rm -r
> 
> Should we ignore *.rej aswell?
yes maybe .*

Best Regards,
J.
> 
> Sascha
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list