summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/intel-vars.ps1
blob: dde0aa26ead44d55ed015cef9effe73b4c46fb84 (plain)
1
2
3
4
5
6
7
8
9
$erroractionpreference = "stop"

cmd /c "`".gitlab\intel\setvars.bat`" & set" |
foreach {
    if ($_ -match "=") {
        $v = $_.split("=")
        [Environment]::SetEnvironmentVariable($v[0], $v[1])
    }
}