diff options
-rw-r--r-- | libraries/libflashsupport/libflashsupport.SlackBuild | 6 |
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. |