From cc575cab105a2a3cadfd53e1c122390c9b8fbe32 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:39:48 -0400 Subject: misc/cwiid: Fixed for bash4. --- misc/cwiid/cwiid.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'misc/cwiid') diff --git a/misc/cwiid/cwiid.SlackBuild b/misc/cwiid/cwiid.SlackBuild index 7f1cdfa6db..5686d64f12 100644 --- a/misc/cwiid/cwiid.SlackBuild +++ b/misc/cwiid/cwiid.SlackBuild @@ -60,12 +60,8 @@ make install DESTDIR=$PKG # For some reason --disable-static is ignored rm -f $PKG/usr/lib$LIBDIRSUFFIX/libcwiid.a -( 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 -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; -- cgit v1.2.3