osgeo4w: don't pickup PATH changes by GRASS' env.bat (fixes #38476)

This commit is contained in:
Juergen E. Fischer 2020-09-25 11:41:02 +02:00
parent 04ae0ca20d
commit 04fbe177b9

View File

@ -2,9 +2,10 @@
call "%~dp0\o4w_env.bat"
call qt5_env.bat
call py3_env.bat
set savedpath=%PATH%
call "%OSGEO4W_ROOT%\apps\grass\@grasspath@\etc\env.bat"
@echo off
path %OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\@grasspath@\lib;%OSGEO4W_ROOT%\apps\grass\@grasspath@\bin;%PATH%
path %OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\@grasspath@\lib;%OSGEO4W_ROOT%\apps\grass\@grasspath@\bin;%savedpath%
set QGIS_PREFIX_PATH=%OSGEO4W_ROOT:\=/%/apps/@package@
set GDAL_FILENAME_IS_UTF8=YES
rem Set VSI cache to be used as buffer, see #6448