summaryrefslogtreecommitdiffstats
path: root/libraries/db46
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/db46')
-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