summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:57 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:57 -0400
commita750c54ce51f540864ab2f7ca218bc6f4efb71bf (patch)
tree7fa83eea52cd4eef36d4bf778fe294a08d4b5cfa
parentf86394b54bfaa454cfdf4d89a9d043c551404967 (diff)
downloadslackbuilds-a750c54ce51f540864ab2f7ca218bc6f4efb71bf.tar.gz
libraries/eaccelerator: Fixed for bash4.
-rw-r--r--libraries/eaccelerator/eaccelerator.SlackBuild8
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}