From c0e2f751aeb58dd1d7330cf1b1ef0b42873cd409 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 22 Mar 2020 20:18:47 -0500 Subject: [PATCH] quotes are impoortant --- .ci/test_windows.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/test_windows.ps1 b/.ci/test_windows.ps1 index 54edf563a894..741a1a5c6f3f 100644 --- a/.ci/test_windows.ps1 +++ b/.ci/test_windows.ps1 @@ -88,7 +88,7 @@ if ($env:TASK -eq "r-package"){ if ($env:COMPILER -eq "MINGW") { Write-Output "Telling R to use MinGW" - $install_libs = $env:BUILD_SOURCESDIRECTORY\R-package\src\install.libs.R + $install_libs = "$env:BUILD_SOURCESDIRECTORY\R-package\src\install.libs.R" ((Get-Content -path $install_libs -Raw) -replace 'use_mingw <- FALSE','use_mingw <- TRUE') | Set-Content -Path $install_libs }