aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:34 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:34 -0400
commit7ae3c17dd5fa8c3e4052ba7f6066d47e43a16039 (patch)
tree40f60121d19bbcb16d44919157a9a7ab481fd25a /games
parent53df062460b7a78bbfe6cc5523d8933f6e1172d2 (diff)
games/mupen64plus: Fixed for bash4.
Diffstat (limited to 'games')
-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 a4dcb5f89eff8..8e532943e3539 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 \