Skip to content

Commit

Permalink
There are no 64-bit Windows snapshots yet, so we'll use 32-bit ones i…
Browse files Browse the repository at this point in the history
…nstead.
  • Loading branch information
vadimcn committed Apr 22, 2014
1 parent 1e33589 commit 7995528
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/etc/get-snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def unpack_snapshot(triple, dl_path):
if len(sys.argv) == 3:
dl_path = sys.argv[2]
else:
snap = determine_curr_snapshot(triple)
# There are no 64-bit Windows snapshots yet, so we'll use 32-bit ones instead, for now
snap_triple = triple if triple != "x86_64-w64-mingw32" else "i686-pc-mingw32"
snap = determine_curr_snapshot(snap_triple)
dl = os.path.join(download_dir_base, snap)
url = download_url_base + "/" + snap
print("determined most recent snapshot: " + snap)
Expand Down

0 comments on commit 7995528

Please sign in to comment.