Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

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
merged 1 commit into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix a regression where MAKE on windows has an extra space at the end
  • Loading branch information
ntkme committed May 16, 2025
commit 1793550ccc00bc9087608d7b7f2338af62ebb4f0
4 changes: 2 additions & 2 deletions 4 dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions 4 windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function installMSYS2(url, rubyPrefix = process.env.RUNNER_TEMP) {

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
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"?

Copy link
Contributor Author

@ntkme ntkme May 16, 2025

Choose a reason for hiding this comment

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

}

// Examples:
Expand Down Expand Up @@ -212,7 +212,7 @@ async function installVCPKG(url) {
throw new Error(`Missing vcVars file: ${vcVars}`)
}

return exportCommandEnv(`set MAKE=nmake && "${vcVars}"`)
return exportCommandEnv(`set "MAKE=nmake" && "${vcVars}"`)
})
}

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.