diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-20 22:01:02 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-20 22:01:02 +0000 |
commit | 6a52a3a3ea52a8c8f11f4acda357bda22ba99c3f (patch) | |
tree | e4f3f06e9dbafaa4ee285adb5895d956d778bd1a | |
parent | 3a2ab616594cdef440d268bea1f26df7f149d109 (diff) | |
download | portage-6a52a3a3ea52a8c8f11f4acda357bda22ba99c3f.tar.gz portage-6a52a3a3ea52a8c8f11f4acda357bda22ba99c3f.tar.bz2 portage-6a52a3a3ea52a8c8f11f4acda357bda22ba99c3f.zip |
Use XARGS for portable xargs handling when find doesn't find any files.
svn path=/main/branches/2.1.2/; revision=5740
-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 |