aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCrystalP <crystalp@kodi.tv>2023-11-22 13:26:47 -0500
committerCrystalP <crystalp@kodi.tv>2023-11-22 19:35:35 -0500
commitf8e3a459ee105654df2be6007fd0e04613bfb6ab (patch)
treeb86a6fa28e5162238a1347247b997f4aab2bad35 /tools
parent081710baa806a178163d2152f8de603e750b9df7 (diff)
[depends] msys2 - add comments about the first execution
Diffstat (limited to 'tools')
-rw-r--r--tools/buildsteps/windows/download-msys2.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/download-msys2.bat b/tools/buildsteps/windows/download-msys2.bat
index 6b9ea6bd12..8d3f43b1bf 100644
--- a/tools/buildsteps/windows/download-msys2.bat
+++ b/tools/buildsteps/windows/download-msys2.bat
@@ -258,6 +258,9 @@ if exist %instdir%\%msys2%\usr\bin\make.exe GOTO rebase2
echo.sleep ^3
echo.exit
)>>%instdir%\pacman.sh
+:: Unconventional msys2 post install steps:
+:: %sh% -lc ' ' for first-run msys2 actions is replaced by --login for the first script execution.
+:: To control the used versions, %sh% pacman --noconfirm -Syuu is not run twice for system update.
%sh% --login %instdir%\pacman.sh &
del %instdir%\pacman.sh