am 1b46b2fe: Fix insertkeys.py to resolve keys.conf path entries in a portable way

* commit '1b46b2fe4723b0dda74c2f66a09df8259508fd4b':
  Fix insertkeys.py to resolve keys.conf path entries in a portable way
This commit is contained in:
Richard Haines 2013-08-20 14:01:54 -07:00 committed by Android Git Automerger
commit 81cdd6c6b7

View file

@ -87,7 +87,8 @@ class ParseConfig(ConfigParser.ConfigParser):
if tag in keyMap:
sys.exit("Duplicate tag detected " + tag)
path = os.path.join(key_directory, self.get(tag, option))
tag_path = os.path.expandvars(self.get(tag, option))
path = os.path.join(key_directory, tag_path)
keyMap[tag] = GenerateKeys(path)