Skip to content

Fix a regression where MAKE on windows has an extra space at the end#765

Merged
eregon merged 1 commit into
ruby:masterfrom
ntkme:make
May 16, 2025
Merged

Fix a regression where MAKE on windows has an extra space at the end#765
eregon merged 1 commit into
ruby:masterfrom
ntkme:make

Conversation

@ntkme

@ntkme ntkme commented May 16, 2025

Copy link
Copy Markdown
Collaborator

See ruby/rubygems#8700 (comment)

@eregon Can you please take a look?

Comment thread windows.js
const ridk = `${rubyPrefix}\\bin\\ridk.cmd`
if (fs.existsSync(ridk)) {
await common.measure('Setting up ridk environment', async () => exportCommandEnv(`set MAKE=make && "${ridk}" enable`))
await common.measure('Setting up ridk environment', async () => exportCommandEnv(`set "MAKE=make" && "${ridk}" enable`))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Weird, so it was parsed like set MAKE=make && "${ridk}" enable?
Or like set MAKE="make && ${ridk} enable"?

@ntkme ntkme May 16, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@eregon eregon merged commit bb0f760 into ruby:master May 16, 2025
208 checks passed
@ntkme ntkme deleted the make branch May 16, 2025 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants