mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
fbt: Fix building using path with space (#2948)
* fbt: Fix building on Windows using path with space * scripts: Fixed formatting --------- Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
@@ -59,7 +59,9 @@ def extract_abs_dir_path(node):
|
||||
if abs_dir_node is None:
|
||||
raise StopError(f"Can't find absolute path for {node.name}")
|
||||
|
||||
return abs_dir_node.abspath
|
||||
# Don't return abspath attribute (type is str), it will break in
|
||||
# OverrideEnvironment.subst_list() by splitting path on spaces
|
||||
return abs_dir_node
|
||||
|
||||
|
||||
def path_as_posix(path):
|
||||
|
||||
Reference in New Issue
Block a user