handle spaces in file path (#2527)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user