summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:54 -0400
commit50e881a9418ea93241f07c46057a476b5026138f (patch)
tree4378542c4805c6da1633df03474eb3ffeb63f7bc
parent91a8aa279278930a6e06a3aef818682c2aec9268 (diff)
downloadslackbuilds-50e881a9418ea93241f07c46057a476b5026138f.tar.gz
desktop/gtk-chtheme: Fixed for bash4.
-rw-r--r--desktop/gtk-chtheme/gtk-chtheme.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
index d96334b396..5cf1aace12 100644
--- a/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
+++ b/desktop/gtk-chtheme/gtk-chtheme.SlackBuild
@@ -57,8 +57,8 @@ fi
make || exit 1
make install DESTDIR=$PKG MANDIR=usr/man || exit 1
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find $PKG | 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 {} \;