[Rt-commit] rt branch, 4.0/better-fixdeps-command, created. rt-4.0.0rc6-136-g2e52cc6

Shawn Moore sartak at bestpractical.com
Mon Mar 14 11:48:20 EDT 2011


The branch, 4.0/better-fixdeps-command has been created
        at  2e52cc69b898f3b19fac03d245035650de29328b (commit)

- Log -----------------------------------------------------------------
commit 2e52cc69b898f3b19fac03d245035650de29328b
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Mar 14 11:45:13 2011 -0400

    Respect PERL_PREFER_CPAN_CLIENT in fixdeps
    
        This is the environment variable CPAN::Any looks at, so respecting
        this makes life easier

diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index 8ddcfad..2b34925 100755
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -454,7 +454,7 @@ sub resolve_dep {
 
     print "\nInstall module $module\n";
 
-    my $ext = $ENV{'RT_FIX_DEPS_CMD'};
+    my $ext = $ENV{'RT_FIX_DEPS_CMD'} || $ENV{'PERL_PREFER_CPAN_CLIENT'};
     unless( $ext ) {
         my $configured = 1;
         {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list