From e7f1d043d888316c6782935950d56c32150cc0be Mon Sep 17 00:00:00 2001 From: Christoph Dwertmann Date: Fri, 17 May 2013 12:40:30 -0400 Subject: [PATCH] Leave log directory, just remove files inside --- rpm/rvm-ruby.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0