From dac379804b4e1e8b90712230710e75ae1ad0c735 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:37:21 -0400 Subject: libraries/libflashsupport: Fixed for bash4. --- libraries/libflashsupport/libflashsupport.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/libflashsupport/libflashsupport.SlackBuild b/libraries/libflashsupport/libflashsupport.SlackBuild index 0c40f57d98..456fd1d246 100644 --- a/libraries/libflashsupport/libflashsupport.SlackBuild +++ b/libraries/libflashsupport/libflashsupport.SlackBuild @@ -84,10 +84,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -( cd $PKG - 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 # The license is in the source file. Extract it. -- cgit v1.2.3