summaryrefslogtreecommitdiff
path: root/games/fceux/fceux.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:24 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:24 -0400
commit213a81fec133c29a1cce9ecb1ccd7a8af4a0e10d (patch)
tree5beed9f29191d4d5d07591db6fe3dd09d2fec3eb /games/fceux/fceux.SlackBuild
parent58d6c85b70f8f538868c5ec0c68c39ef916cab4c (diff)
downloadslackbuilds-213a81fec133c29a1cce9ecb1ccd7a8af4a0e10d.tar.gz
games/fceux: Fixed for bash4.
Diffstat (limited to 'games/fceux/fceux.SlackBuild')
-rw-r--r--games/fceux/fceux.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild
index 28f22a9802..3af5526fe4 100644
--- a/games/fceux/fceux.SlackBuild
+++ b/games/fceux/fceux.SlackBuild
@@ -65,12 +65,8 @@ cp ChangeLog COPYING INSTALL TODO \
# This is supposed to work with gtk+2-2.14.x as well...
sed -i "s%2.16%2.14%" $PKG/usr/share/gfceux/gfceux.glade
-( 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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild