git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72996 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -5,7 +5,7 @@ rem # GRASS initialization bat script (OSGeo4W)
rem #
rem #########################################################################
-SET OSGEO4W_ROOT=@osgeo4w@
+SET OSGEO4W_ROOT=@OSGEO4W_ROOT@
rem
rem Set environmental variables
@@ -236,7 +236,8 @@ if [ -n "$PACKAGE_PATCH" ]; then
cd $OSGEO4W_ROOT_MSYS
# update startup script
- sed -e "s#@VERSION@#$VERSION#g" -e "s#@POSTFIX@#$MAJOR$MINOR#g" \
+ sed -e "s#@VERSION@#$VERSION#g" -e "s#@OSGEO4W_ROOT@#$OSGEO4W_ROOT#g" \
+ -e "s#@POSTFIX@#$MAJOR$MINOR#g" \
$SRC/mswindows/osgeo4w/grass.bat.tmpl > bin/${GRASS_EXECUTABLE}.bat.tmpl
# bat files - unix2dos