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/12 19:09:44 UTC
[4/4] incubator-trafficcontrol git commit: no symlinks,
no copying local/bin files
no symlinks, no copying local/bin files
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/8f5234d4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/8f5234d4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/8f5234d4
Branch: refs/heads/master
Commit: 8f5234d4a5e06723b915cda7086bcd565f7e9cca
Parents: b36993a
Author: Dan Kirkwood <da...@gmail.com>
Authored: Wed Apr 12 09:40:52 2017 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Wed Apr 12 13:09:31 2017 -0600
----------------------------------------------------------------------
traffic_ops/install/lib/BuildPerlDeps.pm | 17 -----------------
1 file changed, 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/8f5234d4/traffic_ops/install/lib/BuildPerlDeps.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/install/lib/BuildPerlDeps.pm b/traffic_ops/install/lib/BuildPerlDeps.pm
index 98229e9..90ff1eb 100644
--- a/traffic_ops/install/lib/BuildPerlDeps.pm
+++ b/traffic_ops/install/lib/BuildPerlDeps.pm
@@ -13,8 +13,6 @@
# limitations under the License.
#
-use lib qw(/opt/traffic_ops/install/lib /opt/traffic_ops/lib/perl5 /opt/traffic_ops/app/lib);
-
package BuildPerlDeps;
use strict;
@@ -82,21 +80,6 @@ EOF
errorOut("Failure to build required perl modules, check the output and correct the problem");
}
- if ( !-s "/opt/traffic_ops/lib/perl5" ) {
- InstallUtils::logger( "Linking perl libraries...", "info" );
- if ( !-d "/opt/traffic_ops/lib" ) {
- mkdir("/opt/traffic_ops/lib");
- }
- symlink( "/opt/traffic_ops/app/local/lib/perl5", "/opt/traffic_ops/lib/perl5" );
- InstallUtils::execCommand( "/bin/chown", "-R", "trafops:trafops", "/opt/traffic_ops/lib" );
- }
- InstallUtils::logger( "Installing perl scripts", "info" );
- chdir("/opt/traffic_ops/app/local/bin");
- my $rc = InstallUtils::execCommand( "/bin/cp", "-R", ".", "/opt/traffic_ops/app/bin" );
- if ( $rc != 0 ) {
- InstallUtils::logger( "Failed to copy perl scripts to /opt/traffic_ops/app/bin", "error" );
- }
-
return 0;
}