* [gentoo-commits] gentoolkit r790 - in trunk/gentoolkit-dev: . src/ekeyword
@ 2010-07-02 16:25 Christian Ruppert (idl0r)
0 siblings, 0 replies; only message in thread
From: Christian Ruppert (idl0r) @ 2010-07-02 16:25 UTC (permalink / raw
To: gentoo-commits
Author: idl0r
Date: 2010-07-02 16:25:56 +0000 (Fri, 02 Jul 2010)
New Revision: 790
Modified:
trunk/gentoolkit-dev/ChangeLog
trunk/gentoolkit-dev/src/ekeyword/ekeyword
Log:
ekeyword: Don't override stable status in get_architectures_status.
Modified: trunk/gentoolkit-dev/ChangeLog
===================================================================
--- trunk/gentoolkit-dev/ChangeLog 2010-07-02 15:47:13 UTC (rev 789)
+++ trunk/gentoolkit-dev/ChangeLog 2010-07-02 16:25:56 UTC (rev 790)
@@ -12,6 +12,7 @@
Validate user input/arch, bug 326029.
Add get_architectures_status function to get the architecture status,
0 = unkown, 1 = dev, 2 = exp, 3 = stable.
+ Don't override stable status in get_architectures_status.
2010-05-17: Christian Ruppert <idl0r@gentoo.org>
* echangelog: Update copyright in other files too (except binaries and
Modified: trunk/gentoolkit-dev/src/ekeyword/ekeyword
===================================================================
--- trunk/gentoolkit-dev/src/ekeyword/ekeyword 2010-07-02 15:47:13 UTC (rev 789)
+++ trunk/gentoolkit-dev/src/ekeyword/ekeyword 2010-07-02 16:25:56 UTC (rev 790)
@@ -65,8 +65,8 @@
my ($arch, undef, $status) = split(/\s/, $line, 3);
if(defined($ARCH{$arch})) {
- $ARCH{$arch} = 1 if $status eq "dev";
- $ARCH{$arch} = 2 if $status eq "exp";
+ $ARCH{$arch} = 1 if $status eq "dev" and $ARCH{$arch} < 3; # Don't override stable
+ $ARCH{$arch} = 2 if $status eq "exp" and $ARCH{$arch} < 3; # Don't override stable
$ARCH{$arch} = 3 if $status eq "stable";
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-02 16:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-02 16:25 [gentoo-commits] gentoolkit r790 - in trunk/gentoolkit-dev: . src/ekeyword Christian Ruppert (idl0r)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox