Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 12413 Details for
Bug 10159
dep-clean does not take into account non-standard portage location
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make dep-clean use PORTDIR and remove buggy cut & sed pipe
dep-clean_fix.patch (text/plain), 786 bytes, created by
Jyrki Muukkonen
on 2003-05-26 07:19:56 UTC
(
hide
)
Description:
make dep-clean use PORTDIR and remove buggy cut & sed pipe
Filename:
MIME Type:
Creator:
Jyrki Muukkonen
Created:
2003-05-26 07:19:56 UTC
Size:
786 bytes
patch
obsolete
>--- dep-clean.orig 2003-05-26 13:58:08.000000000 +0300 >+++ dep-clean 2003-05-26 14:05:12.000000000 +0300 >@@ -7,7 +7,8 @@ > > tmp="/tmp/$$" > >-#Get PORTDIR_OVERLAY from portage >+#Get PORTDIR and PORTDIR_OVERLAY from portage >+PORTDIR="$(/usr/lib/portage/bin/portageq portdir)" > PORTDIR_OVERLAY="$(/usr/lib/portage/bin/portageq portdir_overlay)" > > rm -rf ${tmp} > /dev/null 2>&1 >@@ -173,8 +174,8 @@ > fi > > cat ${tmp}/current | grep -f ${tmp}/world | sort > ${tmp}/world.inst >-find /usr/portage ${PORTDIR_OVERLAY} -iname '*.ebuild' | \ >- cut -f4,6 -d/ | sed -e 's:\.ebuild::' > ${tmp}/ebuilds >+find ${PORTDIR} ${PORTDIR_OVERLAY} -iname '*.ebuild' | \ >+ xargs -n1 -iF basename F .ebuild > ${tmp}/ebuilds > grep -xf ${tmp}/world.inst ${tmp}/ebuilds >> ${tmp}/world.new > > if [ ${verb} ]; then
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 10159
:
12413
|
12416