Skip to content

Commit b6475be

Browse files
committed
Check if paths exist
1 parent cf4af04 commit b6475be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dev/appveyor-install-dependencies.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Function InstallR {
4646

4747
# Testing R installation
4848
Rscript -e "sessionInfo()"
49+
50+
if ( -not (Test-Path -Path 'C:\MinGW\msys\1.0\bin') ) { echo "MinGW\msys doesn't exist" }
4951
}
5052

5153
Function InstallRtools {
@@ -69,6 +71,8 @@ Function InstallRtools {
6971
}
7072
$env:PATH = $RtoolsDrive + '\Rtools40\bin;' + $RtoolsDrive + '\Rtools40\mingw64\bin;' + $RtoolsDrive + '\Rtools40\' + $gccPath + '\bin;' + $env:PATH
7173
$env:BINPREF=$RtoolsDrive + '/Rtools40/mingw$(WIN)/bin/'
74+
75+
if ( -not (Test-Path -Path $($RtoolsDrive + '\Rtools40\' + $gccPath + '\bin')) ) { echo "gccPath doesn't exist" }
7276
}
7377

7478
# create tools directory outside of Spark directory

0 commit comments

Comments
 (0)