Changeset 12691 for inc

Show
Ignore:
Timestamp:
08/25/06 15:44:08 (2 years ago)
Author:
audreyt
Message:

* Prefer 6.5 to 6.4 if both GHCs are probed under C:\.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/Module/Install/Pugs.pm

    r10677 r12691  
    209209 
    210210            GHC_TEST: 
    211             for my $ghc_dir (@ghc_choices) { 
     211            for my $ghc_dir (sort @ghc_choices) { 
    212212                my $ghc_candidate = qq/${ghc_dir}${slash}bin${slash}ghc.exe/; 
    213213                if ($ghc_version = $test_ghc_ver->($ghc_candidate)) { 
    214214                    $ghc = $ghc_candidate; 
    215                     warn "*** Found $ghc\n"; 
    216215                } 
    217216            } 
     217            warn "*** Using GHC version: $ghc\n" if $ghc; 
    218218        } 
    219219    }