Skip to content

Commit

Permalink
Don't forget exe suffix when bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
vector-of-bool committed Dec 11, 2019
1 parent d6fb217 commit 4b783f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _clone_bootstrap_phase(ref: str) -> Path:
def _build_bootstrap_phase(ph: BootstrapPhase, bts_dir: Path) -> None:
print(f'Build revision: {ph.ref} [This may take a moment]')
env = os.environ.copy()
env['DDS_BOOTSTRAP_PREV_EXE'] = str(PREBUILT_DIR / 'dds')
env['DDS_BOOTSTRAP_PREV_EXE'] = str(PREBUILT_DIR / F'dds{EXE_SUFFIX}')
_run_quiet(
[
sys.executable,
Expand Down
2 changes: 1 addition & 1 deletion tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def main(argv: Sequence[str]) -> int:
if os.name == 'nt':
tc_fpath = ROOT / 'tools/msvc.dds'
else:
tc_fpath = ROOT / 'gcc-9.dds'
tc_fpath = ROOT / 'tools/gcc-9.dds'

self_deps_build(dds_exe, str(tc_fpath), paths.SELF_TEST_REPO_DIR,
ROOT / 'remote.dds')
Expand Down

0 comments on commit 4b783f3

Please sign in to comment.