Oops, turns out that we don't require perl in all our build environments. Rewrite this script (it's tiny) in Python. Exactly the same logic. Change-Id: Icbf4b36ef0b18fca94d54fc7fe5e47343c55c669 Signed-off-by: Andy Ross <andrew.j.ross@intel.com>