From ec045c50f3765740dc2f07475fb1d73cc43b49c4 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:47:44 -0400 Subject: system/amanda: Fixed for bash4. --- system/amanda/amanda.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/amanda') diff --git a/system/amanda/amanda.SlackBuild b/system/amanda/amanda.SlackBuild index c9d1196728..0255df3a0c 100644 --- a/system/amanda/amanda.SlackBuild +++ b/system/amanda/amanda.SlackBuild @@ -104,12 +104,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true chown -R root:root $PKG/usr/man find $PKG/usr/man -type f -exec gzip -9 {} \; -- cgit v1.2.3