You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/04/17 17:09:50 UTC

[8/9] incubator-trafficcontrol git commit: fix missing decls

fix missing decls


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

Branch: refs/heads/master
Commit: 620e9e361c9ab449fa6b1972465561df673b7e46
Parents: 15052be
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Apr 13 14:15:43 2017 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Apr 17 11:09:07 2017 -0600

----------------------------------------------------------------------
 traffic_ops/install/bin/_postinstall | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/620e9e36/traffic_ops/install/bin/_postinstall
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/_postinstall b/traffic_ops/install/bin/_postinstall
index edaf5b4..7b5c17f 100755
--- a/traffic_ops/install/bin/_postinstall
+++ b/traffic_ops/install/bin/_postinstall
@@ -739,14 +739,14 @@ sub main {
     # if reconfigure is set then rebuild the perl deps
     if ($reconfigure) {
 	chdir("/opt/traffic_ops/install/bin");
-        $rc = InstallUtils::execCommand( "./download_web_deps", "-i" );
+        my $rc = InstallUtils::execCommand( "./download_web_deps", "-i" );
         if ( $rc != 0 ) {
             errorOut("Failed to install Traffic Ops Web dependencies, check the console output and rerun postinstall once you've resolved the error");
         }
     }
     else {
 	chdir("/opt/traffic_ops/install/bin");
-        $rc = InstallUtils::execCommand( "./download_web_deps", "-i" );
+        my $rc = InstallUtils::execCommand( "./download_web_deps", "-i" );
         if ( $rc != 0 ) {
             errorOut("Failed to install Traffic Ops Web dependencies, check the console output and rerun postinstall once you've resolved the error");
         }