aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:06 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:06 -0400
commit0fa67872f4b607a6db8a202de8146b5820a360d2 (patch)
tree43739dcbd2e0eecbbb7451f2b1cefc5f64911bd0
parent60b093492f843360b10a6e7246dd44510fd6c6d0 (diff)
desktop/pekwm: Fixed for bash4.
-rw-r--r--desktop/pekwm/pekwm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/pekwm/pekwm.SlackBuild b/desktop/pekwm/pekwm.SlackBuild
index 9c11dd9c188da..28aeb49599667 100644
--- a/desktop/pekwm/pekwm.SlackBuild
+++ b/desktop/pekwm/pekwm.SlackBuild
@@ -55,12 +55,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 {} \;