You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/01/27 16:53:26 UTC

[05/36] incubator-trafficcontrol git commit: Changed params to cpan to match open source

Changed params to cpan to match open source


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/62da24d6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/62da24d6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/62da24d6

Branch: refs/heads/master
Commit: 62da24d6f420b156bf79e27eb55aacf3b1516cf0
Parents: 7ba725b
Author: peryder <pe...@cisco.com>
Authored: Wed Dec 7 11:55:50 2016 -0500
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Fri Jan 27 09:52:53 2017 -0700

----------------------------------------------------------------------
 traffic_ops/install/lib/BuildPerlDeps.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/62da24d6/traffic_ops/install/lib/BuildPerlDeps.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/install/lib/BuildPerlDeps.pm b/traffic_ops/install/lib/BuildPerlDeps.pm
index e127d07..5566b73 100644
--- a/traffic_ops/install/lib/BuildPerlDeps.pm
+++ b/traffic_ops/install/lib/BuildPerlDeps.pm
@@ -62,18 +62,18 @@ EOF
         }
         logger( "Building perl modules", "info" );
 
-        $result = execCommand( "/opt/traffic_ops/install/bin/cpan.sh", "pi_custom_log=" . $::cpanLogFile, "/opt/traffic_ops/install/bin/yaml.txt" );
+        $result = execCommand( "/usr/bin/cpan", "pi_custom_log=" . $::cpanLogFile, "-if", "YAML" );
         if ( $result != 0 ) {
             errorOut("Failed to install YAML, look through the output and correct the problem");
         }
 
-        $result = execCommand( "/opt/traffic_ops/install/bin/cpan.sh", "pi_custom_log=" . $::cpanLogFile, "/opt/traffic_ops/install/bin/carton.txt" );
+        $result = execCommand( "/usr/bin/cpan", "pi_custom_log=" . $::cpanLogFile, "-if", "MIYAGAWA/Carton-v1.0.15.tar.gz" );
         if ( $result != 0 ) {
             errorOut("Failed to install Carton, look through the output and correct the problem");
         }
     }
 
-    $result = execCommand( "/usr/local/bin/carton", "install", "--deployment", "--cached" );
+    $result = execCommand( "/usr/local/bin/carton", "install" );
     if ( $result != 0 ) {
         errorOut("Failure to build required perl modules, check the output and correct the problem");
     }