Open Heunsig opened 3 months ago
Can we please get this merged?
Can we please get this merged?
Looks like the main contributor hasn't had a chance to review this yet
Has this repo been abandonned when Edgio took over Moov?? Maybe better continue with a fork then....
I have fixed an issue in the
__gvm_munge_path()
function located in the~/.gvm/scripts/function/munge_path
file. Previously, paths containing spaces were being incorrectly parsed, leading to problems such as/AppData/Local/Programs/Microsoft:VS:Code/bin:/snap/bin
, where colons (:) were inserted into the path names.Because of this, after installing
gvm
, some terminal commands would result in a "command not found" error.To resolve this, I updated the script to enclose each path in double quotes (
""
) when adding them to the array. This ensures paths with spaces are handled correctly.This fix should solve the following issues: https://github.com/moovweb/gvm/issues/486#issue-2433874341, https://github.com/moovweb/gvm/issues/487#issue-2444729848, https://github.com/moovweb/gvm/issues/466#issue-2165852612