Skip to content

Commit

Permalink
- Improved string escape for clone script output path
Browse files Browse the repository at this point in the history
  • Loading branch information
teeminus committed Aug 3, 2024
1 parent c92d5c4 commit ede4677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ede4677

Please sign in to comment.