"current" behavior is wierd in v6_0_x ups...
So currently on /grid/fermiapp/products/common/db there are 34 instances of "ups",
8 of which are current. but with v6_0_x of ups, "ups list -ac ups" lists only
3 of the 8.
This means that when "ups" gets invoked as part of setups, it picks the wrong ups,
as it has to few "current" ones to choose from.
I don't know why it's picking the ones it is..
#1 Updated by Marc Mengel over 2 years ago
Okay, so linux_flavor_cmp was returning 0 if it hit the end of either string;
it should have been returning s2 - *s1, so it would be non-zero if it wasn't
at the end of *both strings.
This means it was considering substrings as matches, so if we had a
"Linux" flavor declared, we would keep finding that, even though there were
"better"== longer matches.