summaryrefslogtreecommitdiff
path: root/knife/lib/chef/knife/supermarket_install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'knife/lib/chef/knife/supermarket_install.rb')
-rw-r--r--knife/lib/chef/knife/supermarket_install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/knife/lib/chef/knife/supermarket_install.rb b/knife/lib/chef/knife/supermarket_install.rb
index c979a4d6f4..91b71df9ff 100644
--- a/knife/lib/chef/knife/supermarket_install.rb
+++ b/knife/lib/chef/knife/supermarket_install.rb
@@ -156,7 +156,7 @@ class Chef
def convert_path(upstream_file)
# converts a Windows path (C:\foo) to a mingw path (/c/foo)
- if ENV["MSYSTEM"] == "MINGW32"
+ if ENV["MSYSTEM"] == ( "MINGW32" || "UCRT64" )
upstream_file.sub(/^([[:alpha:]]):/, '/\1')
else
Shellwords.escape upstream_file