aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:47 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:34:47 -0400
commit168b0422be89e4d30e09589ceb11606d9b59f482 (patch)
treea1065bee0644f9be054ed1087fdab086e5ae17a7 /games
parent912d05f8aba391a10073fd0df87b5d6ae32ade7a (diff)
games/xskat: Fixed for bash4.
Diffstat (limited to 'games')
-rw-r--r--games/xskat/xskat.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/xskat/xskat.SlackBuild b/games/xskat/xskat.SlackBuild
index b83074ca92463..a075a754d5cdf 100644
--- a/games/xskat/xskat.SlackBuild
+++ b/games/xskat/xskat.SlackBuild
@@ -72,12 +72,8 @@ make install.man DESTDIR=$PKG
mkdir -p $PKG/usr/man/de/man1/
mv $PKG/usr/man/man1/xskat-de.1x $PKG/usr/man/de/man1/xskat.1x
-( 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
# Compress man pages
( cd $PKG/usr/man