summaryrefslogtreecommitdiff
path: root/libraries/libflashsupport
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:37:21 -0400
commitdac379804b4e1e8b90712230710e75ae1ad0c735 (patch)
treec56d6377c5055ab4a71ba1ec21fef31aad78154a /libraries/libflashsupport
parenta68193edf6e0d0df48c8c3d38d3ce5702d652a08 (diff)
downloadslackbuilds-dac379804b4e1e8b90712230710e75ae1ad0c735.tar.gz
libraries/libflashsupport: Fixed for bash4.
Diffstat (limited to 'libraries/libflashsupport')
-rw-r--r--libraries/libflashsupport/libflashsupport.SlackBuild6
1 files 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.