From 7ae3c17dd5fa8c3e4052ba7f6066d47e43a16039 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:34:34 -0400 Subject: games/mupen64plus: Fixed for bash4. --- games/mupen64plus/mupen64plus.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'games/mupen64plus') diff --git a/games/mupen64plus/mupen64plus.SlackBuild b/games/mupen64plus/mupen64plus.SlackBuild index a4dcb5f89e..8e532943e3 100644 --- a/games/mupen64plus/mupen64plus.SlackBuild +++ b/games/mupen64plus/mupen64plus.SlackBuild @@ -70,12 +70,8 @@ CXXFLAGS="$SLKCFLAGS" \ make PREFIX=/usr GUI=$gui_opt all || exit 1 make PREFIX=$PKG/usr install || 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 LICENSES README* RELEASE TODO \ -- cgit v1.2.3-65-gdbad