Skip to content

Commit 1373739

Browse files
committed
update-via-pacman: do run the git-extra post-install script in /
The post-install script is supposed to be run in the root directory of the SDK. Let's do that, then. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 83cc505 commit 1373739

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

update-via-pacman.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ if ($pacnew.Length -gt 0) {
148148
}
149149
bash -lc @"
150150
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 / &&
152153
post_upgrade
153154
"@
154155
}

0 commit comments

Comments
 (0)