Skip to content

Commit 54aa443

Browse files
committed
build_utils.py: proper backslash escaping
1 parent c32dbee commit 54aa443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/root-ci-config/build_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def remove_file_match_ext(directory: str, extension: str) -> str:
316316
extension (str): The regular expression pattern to match filenames against.
317317
"""
318318
print_fancy(f"Removing gcda files from {directory}")
319-
log.add(f"\nfind {directory} -name \*.gcda -exec rm {{}} \;")
319+
log.add(f"\nfind {directory} -name \\*.gcda -exec rm {{}} \\;")
320320
pattern = "." + extension
321321
count = 0
322322
for currentdir, _, files in os.walk(directory):

0 commit comments

Comments
 (0)