1 |
On Wednesday 06 July 2005 10:25 am, Chisel Wright wrote: |
2 |
> I'd really like to know what it's going to do before I let it loose on |
3 |
> my system .... |
4 |
> |
5 |
|
6 |
Apply the below patch (applied in local svn as well for the next release) - |
7 |
pretend shouldn't be blocking any other action. By removing it from this |
8 |
line, we can do a |
9 |
%> g-cpan -u -p |
10 |
which will generate any updated ebuilds, then pass portage the -p option. |
11 |
Thanks for the catch :) |
12 |
|
13 |
|
14 |
--- g-cpan.pl 2005-07-06 11:02:14.000000000 -0400 |
15 |
+++ /usr/bin/g-cpan 2005-07-05 06:07:08.000000000 -0400 |
16 |
@@ -81,8 +81,7 @@ GetOptions( |
17 |
|
18 |
|
19 |
# Output error if more than one switch is activated |
20 |
-# |
21 |
-if ( $search + $list + $install + $generate + $upgrade + $ask > 1 ) { |
22 |
+if ( $search + $list + $install + $generate + $upgrade + $pretend + $ask > |
23 |
1 ) { |
24 |
print_err( |
25 |
"You can't combine actions with each other.\n"); |
26 |
print "${white}Please consult ${cyan}$prog ${green}--help${reset} or |
27 |
${cyan}man $prog${reset} for more information\n\n"; |
28 |
|
29 |
|
30 |
-- |
31 |
|
32 |
-----o()o--------------------------------------------- |
33 |
Michael Cummings | #gentoo-dev, #gentoo-perl |
34 |
Gentoo Perl Dev | on irc.freenode.net |
35 |
-----o()o--------------------------------------------- |