Navigation Menu

Skip to content

Commit

Permalink
osgeo4w: make batch files location independant
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 25, 2013
1 parent 5cbf42b commit 44921e1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions ms-windows/osgeo4w/browser.bat.tmpl
@@ -1,7 +1,5 @@
@echo off

SET OSGEO4W_ROOT=@osgeo4w@
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "~dp0\o4w_env.bat
call "%OSGEO4W_ROOT%"\apps\grass\grass-@grassversion@\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\grass-@grassversion@\lib
Expand Down
1 change: 0 additions & 1 deletion ms-windows/osgeo4w/package.cmd
Expand Up @@ -316,4 +316,3 @@ if exist %PACKAGENAME%-oracle-provider-%VERSION%-%PACKAGE%.tar.bz2 del %PACKAGEN

:end
echo FINISHED: %DATE% %TIME% >>%LOG% 2>&1

4 changes: 1 addition & 3 deletions ms-windows/osgeo4w/qgis.bat.tmpl
@@ -1,7 +1,5 @@
@echo off

SET OSGEO4W_ROOT=@osgeo4w@
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
call "%~dp0\o4w_env.bat"
call "%OSGEO4W_ROOT%"\apps\grass\grass-@grassversion@\etc\env.bat
@echo off
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\grass-@grassversion@\lib
Expand Down

0 comments on commit 44921e1

Please sign in to comment.