summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:03 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:03 -0400
commit04b40bf34e52b5c9cdbdba5e36a0643bed841553 (patch)
tree8dbb6b7e84d4f132adeedbf582e84d2caa5f7bf6
parent43c1b84e7d2e4e570a1f20d163bc2a65bfd06be8 (diff)
downloadslackbuilds-04b40bf34e52b5c9cdbdba5e36a0643bed841553.tar.gz
desktop/parcellite: Fixed for bash4.
-rw-r--r--desktop/parcellite/parcellite.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/parcellite/parcellite.SlackBuild b/desktop/parcellite/parcellite.SlackBuild
index c5e4315dd0..20124c9f5d 100644
--- a/desktop/parcellite/parcellite.SlackBuild
+++ b/desktop/parcellite/parcellite.SlackBuild
@@ -48,12 +48,8 @@ CPPFLAGS="$SLKCFLAGS" \
CFLAGS="$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
-)
+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 {} \;