Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] Deleting .svn directories
2012/6/11 EGD <egd.free@xxxxxxxxx>:
On 11 июня 2012 07:54:21 Ciro Iriarte wrote:
Hi, I'm stuck with something that should be pretty simple, I'm trying
to delete .svn directories as part of the build process for a package,
"find" appears to find the directories but while trying to delete them
it gets "No such file or directory".

As this is reaaaaaally basic and is not working, is there any OBS
particularity that would cause this?.


Maybe you need write that

 find . -name .svn -exec rm -rf {} \;

It was already like that, wasn't it?


or

 find . -name .svn -print0 | xargs -0 rm -rf

That did it..


--
Friendly openSUSE Community
--

Thanks!


--
Ciro Iriarte
http://cyruspy.wordpress.com
--
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References