Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97375 Details for
Bug 148115
portage-2.1.2_pre1 find command in etc-update broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
turn off file name globbing during expansion of ${find_opts}
no_globbing.patch (text/plain), 642 bytes, created by
Zac Medico
on 2006-09-18 18:03:24 UTC
(
hide
)
Description:
turn off file name globbing during expansion of ${find_opts}
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-09-18 18:03:24 UTC
Size:
642 bytes
patch
obsolete
>Index: bin/etc-update >=================================================================== >--- bin/etc-update (revision 4475) >+++ bin/etc-update (revision 4476) >@@ -52,7 +52,8 @@ > fi > > ofile="" >- for file in $(find ${path}/ ${find_opts} ! -name '.*~' ! -name '.*.bak' | >+ # The below set -f turns off file name globbing in the ${find_opts} expansion. >+ for file in $(set -f; find ${path}/ ${find_opts} ! -iname '.*~' ! -iname '.*.bak' | > sed -e "s:\(^.*/\)\(\._cfg[0-9]*_\)\(.*$\):\1\2\3\%\2\%\3:" | > sort -t'%' -k3 -k2 | LANG=POSIX LC_ALL=POSIX cut -f1 -d'%'); do > rpath=$(echo "${file/\/\///}" | sed -e "s:/[^/]*$::")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 148115
:
97367
| 97375