summaryrefslogtreecommitdiff
path: root/desktop/xpenguins
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:01 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:01 -0400
commit7ffdd6d42a98a0eb99177228b521f1bc6df6fbae (patch)
treea213d2a5601d927fccb9851665d68665114a3a1a /desktop/xpenguins
parentcc8000cf3c4de6c573e3a7a2c55acd489f4fa31e (diff)
downloadslackbuilds-7ffdd6d42a98a0eb99177228b521f1bc6df6fbae.tar.gz
desktop/xpenguins: Fixed for bash4.
Diffstat (limited to 'desktop/xpenguins')
-rw-r--r--desktop/xpenguins/xpenguins.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/xpenguins/xpenguins.SlackBuild b/desktop/xpenguins/xpenguins.SlackBuild
index 00c2f8fea5..027b90d244 100644
--- a/desktop/xpenguins/xpenguins.SlackBuild
+++ b/desktop/xpenguins/xpenguins.SlackBuild
@@ -52,12 +52,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;