X-Git-Url: http://git.onelab.eu/?p=rvm-ruby.git;a=blobdiff_plain;f=rpm%2Frvm-ruby.spec;h=d4417f2ed76542fc6f448509ba98c606b7a9cfd6;hp=ec5c5e863b9a4b4bdb3888973d308910c3459617;hb=e7f1d043d888316c6782935950d56c32150cc0be;hpb=81e3bf83256e3b0ca29991d83ccc43486b78b48d 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