File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -433,11 +433,16 @@ CFG_TMP_DIR=$(mktemp -d 2>/dev/null \
433
433
|| mktemp -d -t ' rustup-tmp-install' 2> /dev/null \
434
434
|| create_tmp_dir)
435
435
436
- # If we're saving nightlies and we didn't specify which one, grab todays.
437
- # Otherwise we'll use the latest version.
436
+ # If we're saving nightlies and we didn't specify which one, grab the latest
437
+ # verison from the perspective of the server. Buildbot has typically finished
438
+ # building and uploading by ~8UTC, but we want to include a little buffer.
439
+ #
440
+ # FIXME It would be better to use the known most recent nightly that has been
441
+ # built. This is waiting on a change to have buildbot publish metadata that
442
+ # can be queried.
438
443
if [ -n " ${CFG_SAVE} " -a -z " ${CFG_DATE} " ];
439
444
then
440
- CFG_DATE=` date " +%Y-%m-%d" `
445
+ CFG_DATE=` TZ=Etc/UTC+9 date " +%Y-%m-%d" `
441
446
fi
442
447
443
448
RUST_URL=" https://static.rust-lang.org/dist"
You can’t perform that action at this time.
0 commit comments