Skip to content
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

Only download UnicodeData.txt once #19794

Merged
merged 1 commit into from
Jan 1, 2017
Merged

Only download UnicodeData.txt once #19794

merged 1 commit into from
Jan 1, 2017

Conversation

nalimilan
Copy link
Member

Verify the checksums on every run, but only download the file if missing.
Also fix path in error message when checksum doesn't match by tweaking
jlchecksum a bit so that it doesn't assume all files are saved into
deps/srccache.

@@ -37,7 +37,8 @@ checksum_error()
echo " But \`$CHECKSUM_PROG\` results in:" >&2
print_hash "$CURR_CHECKSUM"
echo " This can happen due to bad downloads or network proxies, please check your" >&2
echo " network proxy/firewall settings and delete deps/srccache/$BASENAME" >&2
echo " network proxy/firewall settings and delete"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also go to stderr

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. Fixed

Verify the checksums on every run, but only download the file if missing.
Also fix path in error message when checksum doesn't match by tweaking
jlchecksum a bit so that it doesn't assume all files are saved into
deps/srccache.
@tkelman tkelman merged commit c38a5a3 into master Jan 1, 2017
@tkelman tkelman deleted the nl/download branch January 1, 2017 14:09
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