Skip to content

fix: Correctly quote $@ in sh->ps1 shims#4809

Merged
rashil2000 merged 1 commit intoScoopInstaller:developfrom
e6c31d:patch-1
Mar 14, 2022
Merged

fix: Correctly quote $@ in sh->ps1 shims#4809
rashil2000 merged 1 commit intoScoopInstaller:developfrom
e6c31d:patch-1

Conversation

@e6c31d
Copy link
Copy Markdown
Contributor

@e6c31d e6c31d commented Mar 13, 2022

Description

Correctly quote $@ in sh->ps1 shims

Motivation and Context

Closes #4808

How Has This Been Tested?

  1. Made the change locally to ~/scoop/apps/scoop/current
  2. Run scoop update
  3. Verified ~/scoop/shims/scoop is updated correctly
  4. Run scoop update '*' from git bash, which succeeded.

Checklist:

  • I have read the Contributing Guide.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@rashil2000
Copy link
Copy Markdown
Member

Hey @e6c31d, thanks for tracking down the bug!

For a contribution, you need to open the PR against the develop branch. And also update the changelog.

@e6c31d e6c31d changed the base branch from master to develop March 13, 2022 06:08
@e6c31d
Copy link
Copy Markdown
Contributor Author

e6c31d commented Mar 13, 2022

@rashil2000 Done.

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.

[Bug] '*' not escaped correctly from git bash

2 participants