[GRASS-SVN] r67454 - grass-addons/tools/wingrass-packager

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 31 04:58:43 PST 2015


Author: martinl
Date: 2015-12-31 04:58:42 -0800 (Thu, 31 Dec 2015)
New Revision: 67454

Modified:
   grass-addons/tools/wingrass-packager/grass_packager_release.bat
Log:
wingrass: fix minor typos in release packager

Modified: grass-addons/tools/wingrass-packager/grass_packager_release.bat
===================================================================
--- grass-addons/tools/wingrass-packager/grass_packager_release.bat	2015-12-31 11:38:38 UTC (rev 67453)
+++ grass-addons/tools/wingrass-packager/grass_packager_release.bat	2015-12-31 12:58:42 UTC (rev 67454)
@@ -66,13 +66,13 @@
 
 :cleanUp
 	echo ...(%~1)
-        rmdir /S/Q "C:\OSGeo4W%~1\apps\grass\grass-%MAJOR%.%MINOR%.%PATCH%"
+        if exist "C:\OSGeo4W%~1\apps\grass\grass-%MAJOR%.%MINOR%.%PATCH%" rmdir /S/Q "C:\OSGeo4W%~1\apps\grass\grass-%MAJOR%.%MINOR%.%PATCH%"
 exit /b 0
 
 :cleanUpPkg
 	echo ...(%~1)
 	if not exist "%~1" mkdir %~1
-	if exist .\%~1\grass %GVERSION%rmdir /S/Q .\%~1\grass%GVERSION%
+	if exist .\%~1\grass%GVERSION% rmdir /S/Q .\%~1\grass%GVERSION%
 	xcopy C:\msys%~2\usr\src\grass%GVERSION%\mswindows\* .\%~1\grass%GVERSION% /S/V/I > NUL
 exit /b 0
 



More information about the grass-commit mailing list