[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can quilt delete files?



[Daniel Leidert]
> Alternatively:
> 
> build:
> 	find . -name "*.jar" -exec rename 's/$/.orig/' "{}" ";"
> 
> clean:
> 	find . -name "*.jar.orig" -exec rename 's/\.orig$//' "{}" ";"

Easier just to 'rm' ... but also, note that 'rename' will need some
sort of Build-depends: perl.

And uh, while you're at it, may as well replace ";" with + above.
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/


Reply to: