diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:35:57 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:35:57 -0400 |
commit | a750c54ce51f540864ab2f7ca218bc6f4efb71bf (patch) | |
tree | 7fa83eea52cd4eef36d4bf778fe294a08d4b5cfa /libraries/eaccelerator | |
parent | f86394b54bfaa454cfdf4d89a9d043c551404967 (diff) | |
download | slackbuilds-a750c54ce51f540864ab2f7ca218bc6f4efb71bf.tar.gz |
libraries/eaccelerator: Fixed for bash4.
Diffstat (limited to 'libraries/eaccelerator')
-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} |