aboutsummaryrefslogtreecommitdiff
path: root/desktop/openbox
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:02 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:02 -0400
commit43c1b84e7d2e4e570a1f20d163bc2a65bfd06be8 (patch)
tree6f4888311c1512e779b2fd00a6a1f75f336883e8 /desktop/openbox
parenta5272066072106d804f9c8385c53a12c9609a2d2 (diff)
desktop/openbox: Fixed for bash4.
Diffstat (limited to 'desktop/openbox')
-rw-r--r--desktop/openbox/openbox.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/openbox/openbox.SlackBuild b/desktop/openbox/openbox.SlackBuild
index 9081903583f51..399240e664724 100644
--- a/desktop/openbox/openbox.SlackBuild
+++ b/desktop/openbox/openbox.SlackBuild
@@ -92,12 +92,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 {} \;