summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:30 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:30 -0400
commita75ca2fd55a0e69de5464a608278df3a2a7bac4a (patch)
tree3b76c2f9d500b6b88301bbfdab9e640426e6d84a
parentf63c5fed08369f4fc753c7bc46168caf2d89bdcd (diff)
downloadslackbuilds-a75ca2fd55a0e69de5464a608278df3a2a7bac4a.tar.gz
desktop/wmfire: Fixed for bash4.
-rw-r--r--desktop/wmfire/wmfire.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/wmfire/wmfire.SlackBuild b/desktop/wmfire/wmfire.SlackBuild
index bab4baa2a7..8f96f067be 100644
--- a/desktop/wmfire/wmfire.SlackBuild
+++ b/desktop/wmfire/wmfire.SlackBuild
@@ -56,12 +56,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
-)
+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 {} \;