trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/4] incubator-trafficcontrol git commit: update ORT for kernel compatibility
Date Fri, 07 Jul 2017 19:40:42 GMT
update ORT for kernel compatibility


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

Branch: refs/heads/master
Commit: a9050ebf8b7e655ad6c4d39fa855a13fdffa3812
Parents: 02f1bef
Author: Derek Gelinas <derek_gelinas@cable.comcast.com>
Authored: Thu Jun 29 19:16:51 2017 +0000
Committer: Jeff Elsloo <jeffrey_elsloo@cable.comcast.com>
Committed: Fri Jul 7 13:40:04 2017 -0600

----------------------------------------------------------------------
 traffic_ops/bin/traffic_ops_ort.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/a9050ebf/traffic_ops/bin/traffic_ops_ort.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/bin/traffic_ops_ort.pl b/traffic_ops/bin/traffic_ops_ort.pl
index 9a2cb38..78f170d 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -302,7 +302,7 @@ sub revalidate_while_sleeping {
 
 sub os_version {
   my $release = "UNKNOWN";
-  if (`uname -r` =~ m/.+(el\d)\.x86_64/)  {
+  if (`uname -r` =~ m/.+(el\d).*\.x86_64/)  {
     $release = uc $1;
   }
   exists $supported_el_release{$release} ? return $release


Mime
View raw message