File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ Vagrant.configure("2") do |config|
2626 # Install rtools40
2727 Invoke-WebRequest -Uri "https://cran.r-project.org/bin/windows/Rtools/rtools40-x86_64.exe" -OutFile "rtools.exe"
2828 Start-Process "./rtools.exe" -Argument "/Silent" -PassThru -Wait
29- ${DOLLAR}env :PATH += ";C:\r tools40\usr \bin ; C :\rtools40 \mingw64 \bin "
30- C:\r tools40\m sys2.exe pacman -Sy --noconfirm mingw-w64-x86_64-make
29+ [Environment]::SetEnvironmentVariable("PATH", ${DOLLAR}Env :PATH + ";C:\\ rtools40\\ usr\\ bin;C:\\ rtools40\\ mingw64\\ bin", [EnvironmentVariableTarget]::Machine)
30+ C:\\ rtools40\ \ msys2.exe pacman -Sy --noconfirm mingw-w64-x86_64-make
3131 Remove-Item -Path ./rtools.exe
3232 # Resize disk
3333 Resize-Partition -DriveLetter "C" -Size (Get-PartitionSupportedSize -DriveLetter "C").SizeMax
You can’t perform that action at this time.
0 commit comments