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

Reapply binstub fix #4258

Merged
merged 2 commits into from May 13, 2024
Merged

Reapply binstub fix #4258

merged 2 commits into from May 13, 2024

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented May 7, 2024

Reapply "Fix package name when refreshing binstubs (#4205)" (#4255)

Fix the underlying problem, where p.join(tempdir, binstubPath) evaluates to binstubPath because it is absolute. Therefore we did not chmod the binstub in a tempdir before moving it 🤦 .

Also avoids deleting a binstub before refreshing it, so an outside observer will never see a missing binstub. Only either before or after.

Should fix flutter/flutter#147609

@sigurdm sigurdm requested review from szakarias and jonasfj May 7, 2024 09:41
@sigurdm sigurdm merged commit 8159633 into dart-lang:master May 13, 2024
23 checks passed
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.

Linux docs_test is failing, closing the tree
2 participants