From b94a8a616a8e96251b259190413b515a032d4b9f Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:43:53 -0400 Subject: network/kadu: Fixed for bash4. --- network/kadu/kadu.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'network/kadu') diff --git a/network/kadu/kadu.SlackBuild b/network/kadu/kadu.SlackBuild index 79371b1da968..c4a76531e14c 100644 --- a/network/kadu/kadu.SlackBuild +++ b/network/kadu/kadu.SlackBuild @@ -70,12 +70,8 @@ cmake . \ 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 - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ -- cgit v1.2.3