You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running scoop from git bash, using '*' (for example: scoop update '*') expands to all files in the current directory, even though it's quoted correctly. I'm certain this used to work correctly the last time I tried it a few months ago.
Running scoop update '*' from git bash updates all out of date applications.
Additional context/output
I tracked it down to ~/scoop/shims/scoop shell script, which currently uses $@ instead of "$@" to pass all arguments to powershell. This sh->ps1 shim seems to be written from here:
Bug Report
When running scoop from git bash, using
'*'
(for example:scoop update '*'
) expands to all files in the current directory, even though it's quoted correctly. I'm certain this used to work correctly the last time I tried it a few months ago.Current Behavior
Running in git bash:
Expected Behavior
Running
scoop update '*'
from git bash updates all out of date applications.Additional context/output
I tracked it down to
~/scoop/shims/scoop
shell script, which currently uses$@
instead of"$@"
to pass all arguments to powershell. This sh->ps1 shim seems to be written from here:Scoop/lib/core.ps1
Lines 689 to 695 in 7d5a47c
The other sh shims in lib/core.ps1 (sh->cmd/bat/jar/py/...) all use
"$@"
, so I believe it was omitted unintentionally.Possible Solution
Fix the quoting of
$@
in the above lines in lib/core.ps1System details
Windows version: 10
OS architecture: 64bit
PowerShell version:
Additional software:
Scoop Configuration
The text was updated successfully, but these errors were encountered: