Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCons: Fix SCU build regression on Windows #90450

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scu_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ def clear_out_stale_files(output_folder, extension, fresh_files):
return

for file in glob.glob(output_folder + "/*." + extension):
file = Path(file)
if not file in fresh_files:
# print("removed stale file: " + file)
# print("removed stale file: " + str(file))
os.remove(file)


Expand Down Expand Up @@ -97,7 +98,7 @@ def write_output_file(file_count, include_list, start_line, end_line, output_fol
elif _verbose:
print("SCU: Generation not needed for: " + short_filename)

return output_filename
return output_path


def write_exception_output_file(file_count, exception_string, output_folder, output_filename_prefix, extension):
Expand All @@ -124,7 +125,7 @@ def write_exception_output_file(file_count, exception_string, output_folder, out
elif _verbose:
print("SCU: Generation not needed for: " + short_filename)

return output_filename
return output_path


def find_section_name(sub_folder):
Expand Down
Loading