bytebeat_compiler.py: fix extra dots in paths
This commit is contained in:
parent
974f7eb53b
commit
be5c7186ec
@ -30,17 +30,16 @@ PATHS = {
|
||||
"include_directory": "include"
|
||||
}
|
||||
|
||||
# Add `.` directory before all paths for compilation
|
||||
for key in ["src_dir", "bin_dir", "include_directory"]:
|
||||
PATHS[key] = path_join(".", PATHS[key])
|
||||
|
||||
# Resolve paths
|
||||
PATHS["template"] = path_join(PATHS["src_dir"], PATHS["template"])
|
||||
PATHS["substitute_kept"] = path_join(PATHS["bin_dir"], PATHS["substitute"])
|
||||
PATHS["output_kept"] = path_join(PATHS["bin_dir"], PATHS["output"])
|
||||
PATHS["fwrite_le"] = path_join(PATHS["src_dir"], PATHS["fwrite_le"])
|
||||
|
||||
# Add `.` directory before all paths for compilation
|
||||
for key in ["template", "substitute", "output", "fwrite_le",
|
||||
"include_directory"]:
|
||||
PATHS[key] = path_join(".", PATHS[key])
|
||||
|
||||
# Default parameters
|
||||
DEFAULT_PARAMETERS = {
|
||||
"CC": "cc",
|
||||
|
Loading…
Reference in New Issue
Block a user