Skip to content

Fix file change detection in dotc & dotr scripts #3586

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

Conversation

OlivierBlanvillain
Copy link
Contributor

This PR fixes the file change detection in the dotc & dotr scripts.

>& redirects both stdout and stderr, here we need stdout for the test below but don't care about stderr: when dist-bootstrapped/target/pack/VERSION doesn't exists, users don't should't see the error from find.

Also testing for the existance of $target to rebuild dotty is obviously a typo, we want to rebuild $version is not on disk.

`>&` redirects both stdout and stderr, here we *need* `stdout` for the
test below but don't care about `stderr`: when
`dist-bootstrapped/target/pack/VERSION` doesn't exists, users don't
should't see the error from find.

Also testing for the existance of `$target` to rebuild dotty is obviously
a typo, we want to rebuild `$version` is not on disk.
Copy link
Contributor

@allanrenucci allanrenucci left a comment

Choose a reason for hiding this comment

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

Good to have this fix 🎉

@allanrenucci allanrenucci merged commit f1bb590 into scala:master Nov 29, 2017
@allanrenucci allanrenucci deleted the fix-dotx-file-change-detection branch November 29, 2017 12:10
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