From 6a52a3a3ea52a8c8f11f4acda357bda22ba99c3f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 20 Jan 2007 22:01:02 +0000 Subject: [PATCH] Use XARGS for portable xargs handling when find doesn't find any files. svn path=/main/branches/2.1.2/; revision=5740 --- bin/ecompressdir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2