summaryrefslogtreecommitdiffstats
path: root/desktop/wmii/wmii.SlackBuild
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:31 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:31 -0400
commit5c826cf70b5897290f6c1f389b790f4a48a2c63d (patch)
tree138091e0103774870271aa4972be3ecf67a6bff6 /desktop/wmii/wmii.SlackBuild
parenta75ca2fd55a0e69de5464a608278df3a2a7bac4a (diff)
downloadslackbuilds-5c826cf70b5897290f6c1f389b790f4a48a2c63d.tar.gz
slackbuilds-5c826cf70b5897290f6c1f389b790f4a48a2c63d.tar.xz
desktop/wmii: Fixed for bash4.
Diffstat (limited to 'desktop/wmii/wmii.SlackBuild')
-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 c9943b6221..0136681b0c 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 {} \;