From a750c54ce51f540864ab2f7ca218bc6f4efb71bf Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:35:57 -0400 Subject: libraries/eaccelerator: Fixed for bash4. --- libraries/eaccelerator/eaccelerator.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries/eaccelerator/eaccelerator.SlackBuild') 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} -- cgit v1.2.3