Skip to content

Commit

Permalink
MSYS2: Fix environment init when dev root folder
Browse files Browse the repository at this point in the history
is a drive root
  • Loading branch information
pal1000 committed Nov 9, 2023
1 parent 834b609 commit 54d053a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions buildscript/modules/runmsys.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
@echo path ^= %USERPROFILE:\=\\%\\.gitconfig
)>"%msysloc%\home\%%a\.gitconfig"
@set CD=
@IF %gitstate% GTR 0 echo PATH^=${PATH}^:${gitloc};cd "%CD%";%* >"%devroot%\%projectname%\buildscript\assets\temp.sh"
@IF %gitstate% EQU 0 echo cd "%CD%";%* >"%devroot%\%projectname%\buildscript\assets\temp.sh"
@IF %gitstate% GTR 0 echo PATH^=${PATH}^:${gitloc};cd "%CD:\=\\%";%* >"%devroot%\%projectname%\buildscript\assets\temp.sh"
@IF %gitstate% EQU 0 echo cd "%CD:\=\\%";%* >"%devroot%\%projectname%\buildscript\assets\temp.sh"
@"%msysloc%\usr\bin\bash.exe" -l "%devroot%\%projectname%\buildscript\assets\temp.sh"
3 changes: 2 additions & 1 deletion releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- MSVC: Support building Mesa3D with MSYS2 flex and bison.
- MSVC build: Update DirectX headers to what is expected to be 1.611.1 stable;
- Misc/CMD syntax: Improve handling scenario where development root folder is a disk drive root;
- Misc/CMD syntax: Fix 2 spots where unicode path support is missing.
- Misc/CMD syntax: Fix 2 spots where quoted path support is missing;
- MSYS2: Fix environment init when development root folder is a disk drive root.
# 23.3.0-rc2
### Build script
- CLI: Make prompt for Ninja build fit in one line at 800x600 resolution.
Expand Down

0 comments on commit 54d053a

Please sign in to comment.