aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:38:14 -0400
commit02bbc8d8ed49b0f3ba6209e990fd8a1bd3868724 (patch)
tree3f3b98c20d4fb898bb0d011b26f6e8110be04a94
parent4b2de00655575781336c69f479ba8c79700ac825 (diff)
libraries/libvmime-zarafa: Fixed for bash4.
-rw-r--r--libraries/libvmime-zarafa/libvmime-zarafa.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libvmime-zarafa/libvmime-zarafa.SlackBuild b/libraries/libvmime-zarafa/libvmime-zarafa.SlackBuild
index 609f0bb01211f..a6dc89eb2cbff 100644
--- a/libraries/libvmime-zarafa/libvmime-zarafa.SlackBuild
+++ b/libraries/libvmime-zarafa/libvmime-zarafa.SlackBuild
@@ -62,12 +62,8 @@ CXXFLAGS=$SLKCFLAGS \
make docdir=/usr/doc/$PRGNAM-$VERSION
make install docdir=/usr/doc/$PRGNAM-$VERSION 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 || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# correct program name.
# We're moving some files so that this special version of libvmime