aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:21 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:21 -0400
commit70538bfdf210a205b199efb04e4d97ec39d9a404 (patch)
treefeead81c1b73780b362cb797929e136d4486ec89 /games
parent41713f4dfade762aa55353d11da8901d142ee4fe (diff)
games/bsnes: Fixed for bash4.
Diffstat (limited to 'games')
-rw-r--r--games/bsnes/bsnes.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/bsnes/bsnes.SlackBuild b/games/bsnes/bsnes.SlackBuild
index 636c34d358e37..4306b15aab1db 100644
--- a/games/bsnes/bsnes.SlackBuild
+++ b/games/bsnes/bsnes.SlackBuild
@@ -70,12 +70,8 @@ make \
make install DESTDIR=$PKG prefix=/usr
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+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 \