1
0

b/c...py: optimize adding . before paths

This commit is contained in:
Intel A80486DX2-66 2024-05-19 12:46:14 +03:00
parent 162e6b880c
commit 9be6408890
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -26,11 +26,9 @@ PATHS["output"] = path_join(PATHS["build_dir"], PATHS["output"])
PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"])
# Add `.` directory before all paths for compilation
PATHS["template"] = path_join(".", PATHS["template"])
PATHS["substitute"] = path_join(".", PATHS["substitute"])
PATHS["output"] = path_join(".", PATHS["output"])
PATHS["fwrite_le"] = path_join(".", PATHS["fwrite_le"])
PATHS["include_directory"] = path_join(".", PATHS["include_directory"])
for key in ["template", "substitute", "output", "fwrite_le",
"include_directory"]:
PATHS[key] = path_join(".", PATHS[key])
# Default parameters
DEFAULT_PARAMETERS = {