aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:25 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:25 -0400
commit274870429e4eeb64b93a75c327c1c7cac16fa55b (patch)
treed46f14b41f21321f936531d008d793776aa198b2
parent1905b48ba786e95682c800b65e4223b300ce129d (diff)
desktop/wmSun: Fixed for bash4.
-rw-r--r--desktop/wmSun/wmSun.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wmSun/wmSun.SlackBuild b/desktop/wmSun/wmSun.SlackBuild
index d0037287fa057..d16b1ab1e5a80 100644
--- a/desktop/wmSun/wmSun.SlackBuild
+++ b/desktop/wmSun/wmSun.SlackBuild
@@ -57,12 +57,8 @@ cd wmSun
make install DESTDIR=$PKG/usr
cd -
-( 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 {} \;