From: Christoph Dwertmann Date: Fri, 17 May 2013 16:40:30 +0000 (-0400) Subject: Leave log directory, just remove files inside X-Git-Tag: rvm-ruby-1.20.10-4~8 X-Git-Url: http://git.onelab.eu/?p=rvm-ruby.git;a=commitdiff_plain;h=e7f1d043d888316c6782935950d56c32150cc0be Leave log directory, just remove files inside --- diff --git a/rpm/rvm-ruby.spec b/rpm/rvm-ruby.spec index ec5c5e8..d4417f2 100644 --- a/rpm/rvm-ruby.spec +++ b/rpm/rvm-ruby.spec @@ -130,8 +130,8 @@ export br=%{buildroot} # Remove sources rm -rf $br/usr/lib/rvm/src/* -# Remove logs -rm -rf $br/usr/lib/rvm/log/* +# Remove logfiles +find $br/usr/lib/rvm/log -type f -exec rm {} \; # Strip binaries #find $br -type f -print0 |xargs -0 file --no-dereference --no-pad |grep 'not stripped' |cut -f1 -d: |xargs -r strip