From 5e6d5389918222c2f89be13f7ead71ef83bc122a Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:33 -0400 Subject: games/loemu: Fixed for bash4. --- games/loemu/loemu.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'games/loemu') diff --git a/games/loemu/loemu.SlackBuild b/games/loemu/loemu.SlackBuild index 21998e8af8..aa269f21fd 100644 --- a/games/loemu/loemu.SlackBuild +++ b/games/loemu/loemu.SlackBuild @@ -62,12 +62,8 @@ CXXFLAGS="$SLKCFLAGS" \ python setup.py build || exit 1 python setup.py install --root $PKG || exit 1 -( 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ADDING CHANGES PKG-INFO README \ -- cgit v1.2.3