diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:48:38 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:48:38 -0400 |
commit | baaf5bf42d86cab9a48c8891a8b6f794ee27a035 (patch) | |
tree | e11970a1f0b86dbd0ab72a93ab3f96c5a2f35b85 /system | |
parent | 0fb083fff247e4d226688b5bed74d037422afe04 (diff) | |
download | slackbuilds-baaf5bf42d86cab9a48c8891a8b6f794ee27a035.tar.gz |
system/fdupes: Fixed for bash4.
Diffstat (limited to 'system')
-rw-r--r-- | system/fdupes/fdupes.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild index 15815e2139..2bf471b13a 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 {} \; |