summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:29 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:29 -0400
commit8632d298f22e362b45c9e9c0b59b8b6417754fcd (patch)
tree985a447e39f89d613125044d9f5bad35459c5db1
parent1aa4753bf6b2ab9df1ef12bd398742f7d7f70b59 (diff)
downloadslackbuilds-8632d298f22e362b45c9e9c0b59b8b6417754fcd.tar.gz
office/mdbtools: Fixed for bash4.
-rw-r--r--office/mdbtools/mdbtools.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/office/mdbtools/mdbtools.SlackBuild b/office/mdbtools/mdbtools.SlackBuild
index c15ba258d6..e76052f0d3 100644
--- a/office/mdbtools/mdbtools.SlackBuild
+++ b/office/mdbtools/mdbtools.SlackBuild
@@ -77,10 +77,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
# Compress man pages
( cd $PKG/usr/man