summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:35:54 -0400
commitcc24f5dbdca4964ff7309c7eabfc195c6a136e85 (patch)
tree236cb9880973f0c82f00c47f97ba8a36d5786fa2
parent8d71be6ba07c4c0f30fa6f053cbe9b4e3857d188 (diff)
downloadslackbuilds-cc24f5dbdca4964ff7309c7eabfc195c6a136e85.tar.gz
libraries/db46: Fixed for bash4.
-rw-r--r--libraries/db46/db46.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/db46/db46.SlackBuild b/libraries/db46/db46.SlackBuild
index e9091d9be5..635d718a87 100644
--- a/libraries/db46/db46.SlackBuild
+++ b/libraries/db46/db46.SlackBuild
@@ -81,12 +81,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
- 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
# Remove WAY TOO LARGE (and misplaced) docs:
rm -rf $PKG/usr/docs