projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968cffc
)
For compatibility with older findutils, don't use the -L predicate (bug #168432).
author
Zac Medico
<zmedico@gentoo.org>
Tue, 27 Feb 2007 04:54:18 +0000
(
04:54
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 27 Feb 2007 04:54:18 +0000
(
04:54
-0000)
svn path=/main/trunk/; revision=6086
bin/ecompressdir
patch
|
blob
|
history
diff --git
a/bin/ecompressdir
b/bin/ecompressdir
index a95e1a2054118ebcb14d6607af9584fa6554e38a..163230dda3cdf11abdfff96fce355ca143cc28f0 100755
(executable)
--- a/
bin/ecompressdir
+++ b/
bin/ecompressdir
@@
-32,8
+32,9
@@
funk_up_dir() {
find "${dir}" -type f ${negate} -iname '*.'${suffix} -print0 | ${XARGS} -0 ${binary}
((ret+=$?))
- find -L "${dir}" -type l | \
- while read brokenlink ; do
+ find "${dir}" -type l -print0 | \
+ while read -d $'\0' brokenlink ; do
+ [[ -e ${brokenlink} ]] && continue
olddest=$(readlink "${brokenlink}")
[[ ${act} == "compress" ]] \
&& newdest="${olddest}${suffix}" \