Skip to content

Commit 06b166c

Browse files
committed
safji
1 parent bfb000d commit 06b166c

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.github/workflows/windows-ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,14 @@ jobs:
6464
$prefix = 'C:\\radare2'
6565
$posix = $prefix -replace '\\','/'
6666
Write-Output "Normalized r2_prefix (posix): $posix"
67+
# Construct candidate paths explicitly to avoid Join-Path parsing
6768
$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"
7475
)
7576
foreach ($d in $candidates) {
7677
if (Test-Path $d) {

.github/workflows/windows-msys2-ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,14 @@ jobs:
5454
$prefix = 'C:\\radare2'
5555
$posix = $prefix -replace '\\','/'
5656
Write-Host "Normalized r2_prefix (posix): $posix"
57+
# Construct candidate paths explicitly to avoid Join-Path parsing
5758
$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"
6465
)
6566
foreach ($d in $candidates) {
6667
if (Test-Path $d) {

0 commit comments

Comments
 (0)