projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
308bf34
)
For compatibility with older findutils, don't use the -L predicate (bug #168432)...
author
Zac Medico
<zmedico@gentoo.org>
Tue, 27 Feb 2007 04:56:06 +0000
(
04:56
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 27 Feb 2007 04:56:06 +0000
(
04:56
-0000)
svn path=/main/branches/2.1.2/; revision=6087
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}" \