File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,14 @@ jobs:
64
64
$prefix = 'C:\\radare2'
65
65
$posix = $prefix -replace '\\','/'
66
66
Write-Output "Normalized r2_prefix (posix): $posix"
67
+ # Construct candidate paths explicitly to avoid Join-Path parsing
67
68
$candidates = @(
68
- Join-Path $prefix ' include' ,
69
- Join-Path $prefix ' include\libr' ,
70
- Join-Path $prefix ' radare2\include' ,
71
- Join-Path $prefix ' lib' ,
72
- Join-Path $prefix ' radare2\lib' ,
73
- Join-Path $prefix ' bin'
69
+ " $prefix\\ include" ,
70
+ " $prefix\\ include\\ libr" ,
71
+ " $prefix\\ radare2\\ include" ,
72
+ " $prefix\\ lib" ,
73
+ " $prefix\\ radare2\\ lib" ,
74
+ " $prefix\\ bin"
74
75
)
75
76
foreach ($d in $candidates) {
76
77
if (Test-Path $d) {
Original file line number Diff line number Diff line change @@ -54,13 +54,14 @@ jobs:
54
54
$prefix = 'C:\\radare2'
55
55
$posix = $prefix -replace '\\','/'
56
56
Write-Host "Normalized r2_prefix (posix): $posix"
57
+ # Construct candidate paths explicitly to avoid Join-Path parsing
57
58
$candidates = @(
58
- Join-Path $prefix ' include' ,
59
- Join-Path $prefix ' include\libr' ,
60
- Join-Path $prefix ' radare2\include' ,
61
- Join-Path $prefix ' lib' ,
62
- Join-Path $prefix ' radare2\lib' ,
63
- Join-Path $prefix ' bin'
59
+ " $prefix\\ include" ,
60
+ " $prefix\\ include\\ libr" ,
61
+ " $prefix\\ radare2\\ include" ,
62
+ " $prefix\\ lib" ,
63
+ " $prefix\\ radare2\\ lib" ,
64
+ " $prefix\\ bin"
64
65
)
65
66
foreach ($d in $candidates) {
66
67
if (Test-Path $d) {
You can’t perform that action at this time.
0 commit comments