aboutsummaryrefslogtreecommitdiff
path: root/system/fdupes
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:38 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:38 -0400
commitbaaf5bf42d86cab9a48c8891a8b6f794ee27a035 (patch)
treee11970a1f0b86dbd0ab72a93ab3f96c5a2f35b85 /system/fdupes
parent0fb083fff247e4d226688b5bed74d037422afe04 (diff)
system/fdupes: Fixed for bash4.
Diffstat (limited to 'system/fdupes')
-rw-r--r--system/fdupes/fdupes.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild
index 15815e213918..2bf471b13a92 100644
--- a/system/fdupes/fdupes.SlackBuild
+++ b/system/fdupes/fdupes.SlackBuild
@@ -68,10 +68,8 @@ make install \
INSTALLDIR=$PKG/usr/bin \
MANPAGEDIR=$PKG/usr/man
-( cd $PKG
- find . | xargs file | grep "executable" | 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 {} \;