File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ function die {
23
23
Set-Location $PSScriptRoot
24
24
if (! $? ) { die " Could not switch directory to $PSScriptRoot " }
25
25
26
- $env: PATH = " $ ( Get-Location ) \usr\bin;" + $env: PATH
26
+ $env: PATH = " $ ( Get-Location ) \mingw32\bin; $ ( Get-Location ) \ usr\bin;" + $env: PATH
27
27
28
28
# Set to MSYS mode
29
- $env: MSYSTEM = " MSYS "
29
+ $env: MSYSTEM = " MINGW32 "
30
30
$env: MSYS2_PATH_TYPE = " minimal"
31
31
32
32
# Create /var/log/ so that pacman.log is written
@@ -148,7 +148,8 @@ if ($pacnew.Length -gt 0) {
148
148
}
149
149
bash - lc @"
150
150
set -x &&
151
- . /var/lib/pacman/local/mingw-w64-*-git-extra-[0-9]*/install 2>/dev/null &&
151
+ . /var/lib/pacman/local/mingw-w64-*-git-extra-[0-9]*/install &&
152
+ cd / &&
152
153
post_upgrade
153
154
"@
154
155
}
You can’t perform that action at this time.
0 commit comments