summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author David Somero2010-05-19 08:34:21 +0200
committer David Somero2010-05-19 08:34:21 +0200
commit70538bfdf210a205b199efb04e4d97ec39d9a404 (patch)
treefeead81c1b73780b362cb797929e136d4486ec89 /games
parent41713f4dfade762aa55353d11da8901d142ee4fe (diff)
downloadslackbuilds-70538bfdf210a205b199efb04e4d97ec39d9a404.tar.gz
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 636c34d358..4306b15aab 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 \