projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a2ab61
)
Use XARGS for portable xargs handling when find doesn't find any files.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 20 Jan 2007 22:01:02 +0000
(22:01 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 20 Jan 2007 22:01:02 +0000
(22:01 -0000)
svn path=/main/branches/2.1.2/; revision=5740
bin/ecompressdir
patch
|
blob
|
history
diff --git
a/bin/ecompressdir
b/bin/ecompressdir
index 5d8c535814aa1a5d08c7be7505929b6785bc8eed..47ea5db419e368a20585df69a56cf8eaa487a366 100755
(executable)
--- 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