diff options
-rw-r--r-- | libraries/eaccelerator/eaccelerator.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/eaccelerator/eaccelerator.SlackBuild b/libraries/eaccelerator/eaccelerator.SlackBuild index eda898d904..1b366e1ba1 100644 --- a/libraries/eaccelerator/eaccelerator.SlackBuild +++ b/libraries/eaccelerator/eaccelerator.SlackBuild @@ -58,12 +58,8 @@ cat $CWD/$APP.SlackBuild > $PKG/usr/doc/$APP-$VERSION/$APP-SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs \ - strip --strip-unneeded 2> /dev/null - 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 /sbin/makepkg -l y -c n $OUTPUT/$APP-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |