From 7d0d39197f48bf86b67576389c88c54134d8fcc8 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:50:43 -0400 Subject: system/vice: Fixed for bash4. --- system/vice/vice.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'system/vice/vice.SlackBuild') diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild index 66d51ae8b7ad..f29eece29940 100644 --- a/system/vice/vice.SlackBuild +++ b/system/vice/vice.SlackBuild @@ -79,10 +79,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 -) +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