aboutsummaryrefslogtreecommitdiffstats
path: root/tools/collectors/__init__.py
diff options
context:
space:
mode:
authorAbdul Halim <abdul.halim@intel.com>2015-12-11 11:54:13 +0000
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-12-14 10:05:11 +0000
commit088c895dc2363bd0b586a2ddfeebf13f6755ee4e (patch)
tree0bb9b30dfd4478d41bcce22f392b112f5e6ee627 /tools/collectors/__init__.py
parenta60091c234823b87481bb4bc072effc1c8447b59 (diff)
Fix: OS name detection error by build scripts
There is a problem detecting OS specific scripts dir if NAME variable in /etc/os-release contains a multi-word string (e.g NAME="CentOS Linux"). To fix this we get first part of the NAME string (i.e "CentOS") for simplicity and look for version specific scripts dir within that. Change-Id: Ic840788875e9b486b20608a9b9e523cbd4530e31 Signed-off-by: Abdul Halim <abdul.halim@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Brian Castelli <Brian.Castelli@spirent.com>
Diffstat (limited to 'tools/collectors/__init__.py')
0 files changed, 0 insertions, 0 deletions