handle spaces in file path (#2527)

This commit is contained in:
Carrie Roberts
2023-09-12 13:13:14 -06:00
committed by GitHub
parent 4624b2c995
commit 5dc57a112a
+2 -2
View File
@@ -97,11 +97,11 @@ atomic_tests:
prereq_command: |
if (Test-Path "#{port_file}") {exit 0} else {exit 1}
get_prereq_command: |
New-Item -Type Directory (split-path #{port_file}) -ErrorAction ignore | Out-Null
New-Item -Type Directory (split-path "#{port_file}") -ErrorAction ignore | Out-Null
Invoke-WebRequest "#{portfile_url}" -OutFile "#{port_file}"
executor:
command: |
$ports = Get-content #{port_file}
$ports = Get-content "#{port_file}"
$file = "#{output_file}"
$totalopen = 0
$totalports = 0