From baaf5bf42d86cab9a48c8891a8b6f794ee27a035 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:48:38 -0400 Subject: system/fdupes: Fixed for bash4. --- system/fdupes/fdupes.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'system/fdupes') 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 {} \; -- cgit v1.2.3