summaryrefslogtreecommitdiffstats
path: root/games/mupen64plus
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:34 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:34 -0400
commit7ae3c17dd5fa8c3e4052ba7f6066d47e43a16039 (patch)
tree40f60121d19bbcb16d44919157a9a7ab481fd25a /games/mupen64plus
parent53df062460b7a78bbfe6cc5523d8933f6e1172d2 (diff)
downloadslackbuilds-7ae3c17dd5fa8c3e4052ba7f6066d47e43a16039.tar.gz
slackbuilds-7ae3c17dd5fa8c3e4052ba7f6066d47e43a16039.tar.xz
games/mupen64plus: Fixed for bash4.
Diffstat (limited to 'games/mupen64plus')
-rw-r--r--games/mupen64plus/mupen64plus.SlackBuild8
1 files changed, 2 insertions, 6 deletions
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 \