Skip to content

Commit 828e9b5

Browse files
committed
Use explicit path for GNU find
Recent build of vs2017-win2016 image does not have GNU find in path. Instead, Windows built-in version was invoked, causing `Find GCC libraries` Azure CI stage to fail.
1 parent 9358be3 commit 828e9b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/azure-install-rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ steps:
4545
- bash: |
4646
set -ex
4747
gcc -print-search-dirs
48-
find "C:\ProgramData\Chocolatey" -name "crt2*"
49-
find "C:\ProgramData\Chocolatey" -name "dllcrt2*"
50-
find "C:\ProgramData\Chocolatey" -name "libmsvcrt*"
48+
/usr/bin/find "C:\ProgramData\Chocolatey" -name "crt2*"
49+
/usr/bin/find "C:\ProgramData\Chocolatey" -name "dllcrt2*"
50+
/usr/bin/find "C:\ProgramData\Chocolatey" -name "libmsvcrt*"
5151
condition: eq( variables['Agent.OS'], 'Windows_NT' )
5252
displayName: Find GCC libraries (windows)
5353
- bash: |

0 commit comments

Comments
 (0)