Skip to content
Permalink
Browse files

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

  • Loading branch information
jef-n committed Sep 25, 2020
1 parent 04ae0ca commit 04fbe177b9412de6fc01ef337540a7885656677e
Showing with 2 additions and 1 deletion.
  1. +2 −1 ms-windows/osgeo4w/qgis-grass.bat.tmpl
@@ -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

1 comment on commit 04fbe17

@Houska1

This comment has been minimized.

Copy link

@Houska1 Houska1 commented on 04fbe17 Sep 25, 2020

Great, hopefully this will fix this ongoing bugbear. Should it be backported to 3.14 and 3.10 LTR?

Please sign in to comment.
You can’t perform that action at this time.