Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33022 Details for
Bug 53509
qpkg doesn't handle correctly symlinked dirs.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Sugested patch.
qpkg_norm.patch (text/plain), 877 bytes, created by
Sergey Kuleshov (RETIRED)
on 2004-06-10 04:42:19 UTC
(
hide
)
Description:
Sugested patch.
Filename:
MIME Type:
Creator:
Sergey Kuleshov (RETIRED)
Created:
2004-06-10 04:42:19 UTC
Size:
877 bytes
patch
obsolete
>--- /usr/bin/qpkg 2004-04-09 19:22:39.000000000 +0000 >+++ ./qpkg 2004-06-10 14:45:53.179669960 +0000 >@@ -296,20 +296,22 @@ > fi > > # get list of ebuilds to work on >-if [ "${ffind}" ]; then >+if [ "${ffind}" ]; then > # file find mode - list all ebuilds for > # package/CONTENTS containing <arg> > if [ "${fpat}" ]; then >+ norm_file=`readlink -f ${arg}` > dirs=`ls /var/db/pkg/${group}/*/CONTENTS \ >- | xargs grep -l "${arg}" \ >+ | xargs grep -l "${norm_file}" \ > | xargs --no-run-if-empty -n 1 dirname` > else > # if the user didnt specify a full path assume they > # want to check in the working dir #17331 > [ "${arg:0:1}" != "/" ] && arg="${PWD}/${arg}" > >+ norm_file=`readlink -f ${arg}` > dirs=`ls /var/db/pkg/${group}/*/CONTENTS \ >- | xargs grep -Fl " ${arg}" \ >+ | xargs grep -Fl " ${norm_file}" \ > | xargs --no-run-if-empty -n 1 dirname` > fi > ipak=`(
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 53509
: 33022