aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:31 -0400
commit5c826cf70b5897290f6c1f389b790f4a48a2c63d (patch)
tree138091e0103774870271aa4972be3ecf67a6bff6 /desktop
parenta75ca2fd55a0e69de5464a608278df3a2a7bac4a (diff)
desktop/wmii: Fixed for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmii/wmii.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wmii/wmii.SlackBuild b/desktop/wmii/wmii.SlackBuild
index c9943b622171d..0136681b0c677 100644
--- a/desktop/wmii/wmii.SlackBuild
+++ b/desktop/wmii/wmii.SlackBuild
@@ -86,12 +86,8 @@ mv $PKG/etc/wmii-3.5/wmiirc $PKG/etc/wmii-3.5/wmiirc.new
mv $PKG/etc/wmii-3.5/welcome $PKG/etc/wmii-3.5/welcome.new
mv $PKG/etc/wmii-3.5/rc.wmii $PKG/etc/wmii-3.5/rc.wmii.new
-( 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 {} \;