Skip to content

Commit

Permalink
Fix MINGW path for command prompt script (#10872)
Browse files Browse the repository at this point in the history
Fixes #10852
  • Loading branch information
adeas31 committed Jun 21, 2023
1 parent b0c67fe commit a07adc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMCompiler/Compiler/scripts/Prompt.bat
Expand Up @@ -7,7 +7,7 @@ set C_INCLUDE_PATH=
set LIBRARY_PATH=
set OLD_PATH=%PATH%
if not "%1"=="" (set OM_PLATFORM=%1) else (set OM_PLATFORM=mingw64)
set MINGW=%OPENMODELICAHOME%\msys\%OM_PLATFORM%
set MINGW="%OPENMODELICAHOME%\tools\msys\%OM_PLATFORM%"
set ADDITIONAL_ARGS=
REM If OMDEV is set, use MinGW from there instead of OPENMODELICAHOME
REM It is not certain that release OMC is installed
Expand All @@ -18,7 +18,7 @@ set CURRENT_DIR="%CD%"

cd /D "%MINGW%\bin"
set PATH=%CD%;%CD%\..\..\usr\bin\;%OPENMODELICAHOME%\bin;%OPENMODELICAHOME%\lib\omc\msvc;%OPENMODELICAHOME%\lib\omc\cpp;%OPENMODELICAHOME%\lib\omc\cpp\msvc;
echo PATH = "%PATH%"
REM echo PATH = "%PATH%"
cd /D "%CURRENT_DIR%"

REM echo PATH = %PATH% >>%1.log 2>&1
Expand Down

0 comments on commit a07adc0

Please sign in to comment.