diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-20 22:02:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-20 22:02:04 +0000 |
commit | ba0c5eb954f42237d5513afd3e7bdabb4c882918 (patch) | |
tree | eac5965bbc45ec361fd2214eea42738ebef0ba8a /bin | |
parent | b3c38df9ec66b8eee22a146fdd4d686d9c079b28 (diff) | |
download | portage-ba0c5eb954f42237d5513afd3e7bdabb4c882918.tar.gz portage-ba0c5eb954f42237d5513afd3e7bdabb4c882918.tar.bz2 portage-ba0c5eb954f42237d5513afd3e7bdabb4c882918.zip |
Use XARGS for portable xargs handling when find doesn't find any files. (branches/2.1.2 r5740)
svn path=/main/trunk/; revision=5741
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ecompressdir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ecompressdir b/bin/ecompressdir index 5d8c53581..47ea5db41 100755 --- a/bin/ecompressdir +++ b/bin/ecompressdir @@ -28,7 +28,7 @@ for dir in "$@" ; do vecho "${0##*/}: $(ecompress --bin) ${dir#${D}}" fi - find "${dir}" -type f '!' -name '*'${suffix} -print0 | xargs -0 ecompress + find "${dir}" -type f '!' -name '*'${suffix} -print0 | ${XARGS} -0 ecompress ((ret+=$?)) find -L "${dir}" -type l | \ while read brokenlink ; do |