Skip to content

Commit cf4af04

Browse files
committed
Parametrize BINPREF with WIN
Source: https://stackoverflow.com/a/44035904
1 parent b3dc85a commit cf4af04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/appveyor-install-dependencies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Function InstallRtools {
6868
$gccPath = $env:GCC_PATH
6969
}
7070
$env:PATH = $RtoolsDrive + '\Rtools40\bin;' + $RtoolsDrive + '\Rtools40\mingw64\bin;' + $RtoolsDrive + '\Rtools40\' + $gccPath + '\bin;' + $env:PATH
71-
$env:BINPREF=$RtoolsDrive + '/Rtools40/mingw64/bin/'
71+
$env:BINPREF=$RtoolsDrive + '/Rtools40/mingw$(WIN)/bin/'
7272
}
7373

7474
# create tools directory outside of Spark directory

0 commit comments

Comments
 (0)