Skip to content

Various improvements to update.sh #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 22, 2016
Merged

Various improvements to update.sh #45

merged 10 commits into from
Feb 22, 2016

Conversation

dominikh
Copy link
Member

Depends on #44

dmitshur and others added 6 commits February 20, 2016 21:46
A more standard and widely available alternative implementation created
by @dominikh in #43 (comment).

Fixes #43.
Using mktemp solves two issues:

- it allows running multiple instances of update.sh in parallel. For
  example, someone might have two separate checkouts of the playground
  and intent to build them with different versions of Go. They might run
  both instances of update.sh in parallel to save time.

- it works correctly when someone has set their TMPDIR to something
  other than /tmp
@dmitshur dmitshur self-assigned this Feb 21, 2016
Even quote the use of PKG. While not necessary right now, it protects us
from future code breakage.
@dominikh
Copy link
Member Author

PTAL

@dmitshur
Copy link
Member

Awesome. I've reviewed all commits, and the final version.

It's a huge improvement, and continues to work on OS X.

LGTM. Thank you for making it better!

@dmitshur dmitshur merged commit 97f92c7 into gopherjs:master Feb 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants