Skip to content

Fix bugs in Dockerfile: undefined variables and typo#152

Open
hobostay wants to merge 1 commit into
Mercury-Language:masterfrom
hobostay:fix-dockerfile-bugs
Open

Fix bugs in Dockerfile: undefined variables and typo#152
hobostay wants to merge 1 commit into
Mercury-Language:masterfrom
hobostay:fix-dockerfile-bugs

Conversation

@hobostay

Copy link
Copy Markdown
Contributor

Summary

  • Fix --with-default-grade using undefined MERCURY_DEFAULT_GRADE instead of MERCURY_DEV_DEFAULT_GRADE (defined on line 23). Previously this configure option was always passed as an empty string.
  • Remove rm of undefined MERCURY_BOOTSTRAP_TARGET (was a no-op; cleanup of MERCURY_DEV_TARGET on the next line already handles this).
  • Fix typo in comment: lsb-realse to lsb-release.

Test plan

  • Verified MERCURY_DEFAULT_GRADE and MERCURY_BOOTSTRAP_TARGET are not defined anywhere in the Dockerfile

🤖 Generated with Claude Code

- Use correct variable name MERCURY_DEV_DEFAULT_GRADE instead of
  undefined MERCURY_DEFAULT_GRADE for --with-default-grade configure
  option. Previously the option was always passed as empty.
- Remove rm of undefined MERCURY_BOOTSTRAP_TARGET (was a no-op since
  the variable was never defined; the cleanup of MERCURY_DEV_TARGET
  on the next line already covers this).
- Fix typo in comment: "lsb-realse" -> "lsb-release".

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant