mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #5868 from boatrite/2022-12-10-path-with-spaces-fix
Fix cloning gem when destination path contains spaces
This commit is contained in:
@@ -25,11 +25,7 @@ module MRuby
|
||||
end
|
||||
|
||||
def shellquote(s)
|
||||
if ENV['OS'] == 'Windows_NT'
|
||||
"\"#{s}\""
|
||||
else
|
||||
"#{s}"
|
||||
end
|
||||
"\"#{s}\""
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user