scripts: accept absolute paths to YAML
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I94044f096db64e6152bf4e7cd3bff7159e1cc85a
diff --git a/scripts/extra-properties.py b/scripts/extra-properties.py
index 115abf7..465f95c 100755
--- a/scripts/extra-properties.py
+++ b/scripts/extra-properties.py
@@ -21,7 +21,7 @@
)
args = parser.parse_args()
- with open(os.path.join(script_dir, args.extra_props_yaml), "r") as fd:
+ with open(args.extra_props_yaml, "r") as fd:
yamlDict = yaml.safe_load(fd)
# Render the mako template