summaryrefslogtreecommitdiff
path: root/games/egoboo/egoboo.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:23 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:23 -0400
commit58d6c85b70f8f538868c5ec0c68c39ef916cab4c (patch)
tree377bc648f4d7129e7b6686e7b21036d2d448d376 /games/egoboo/egoboo.SlackBuild
parent91d12617effcc5ad082b80ee402815766bcdf63f (diff)
downloadslackbuilds-58d6c85b70f8f538868c5ec0c68c39ef916cab4c.tar.gz
games/egoboo: Fixed for bash4.
Diffstat (limited to 'games/egoboo/egoboo.SlackBuild')
-rw-r--r--games/egoboo/egoboo.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/egoboo/egoboo.SlackBuild b/games/egoboo/egoboo.SlackBuild
index 5105cd9efc..23456ff293 100644
--- a/games/egoboo/egoboo.SlackBuild
+++ b/games/egoboo/egoboo.SlackBuild
@@ -52,12 +52,8 @@ make -C game -f Makefile.unix PREFIX=$PKG/usr install
mkdir -p $PKG/usr/share/$PRGNAM
cp -rf controls.txt setup.txt basicdat/ modules/ players/ $PKG/usr/share/$PRGNAM/
-( 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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Install icon and desktop files
install -D -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png