From ede467739a170fc15148c58b880504afcfc4cd4c Mon Sep 17 00:00:00 2001 From: teeminus <32164856+teeminus@users.noreply.github.com> Date: Sat, 3 Aug 2024 21:57:47 +0200 Subject: [PATCH] - Improved string escape for clone script output path --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 655ffd9f..bcbffbac 100644 --- a/build.py +++ b/build.py @@ -175,13 +175,13 @@ def main(): downloads.unpack_downloads(download_info, downloads_cache, source_tree, None, extractors) else: # Clone sources - subprocess.run([sys.executable, str(Path('ungoogled-chromium', 'utils', 'clone.py')), '-o', 'build\src', '-p', 'win32' if args.x86 else 'win64'], check=True) + subprocess.run([sys.executable, str(Path('ungoogled-chromium', 'utils', 'clone.py')), '-o', 'build\\src', '-p', 'win32' if args.x86 else 'win64'], check=True) # Setup GN get_logger().info('Setting up GN...') gnpath = source_tree / 'uc_staging' / 'gn_win' gnpath.mkdir(parents=True, exist_ok=True) - subprocess.run(['git', 'clone', "https://gn.googlesource.com/gn", str(gnpath)], check=True) + subprocess.run(['git', 'clone', 'https://gn.googlesource.com/gn', str(gnpath)], check=True) subprocess.run(['git', 'reset', '--hard', 'b2afae122eeb6ce09c52d63f67dc53fc517dbdc8'], cwd=gnpath, check=True) subprocess.run(['git', 'clean', '-ffdx'], cwd=gnpath, check=True) subprocess.run([sys.executable, str(gnpath / 'build' / 'gen.py')], check=True)