[GRASS-SVN] r40551 - grass/branches/releasebranch_6_4/mswindows
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 19 06:03:39 EST 2010
Author: martinl
Date: 2010-01-19 06:03:38 -0500 (Tue, 19 Jan 2010)
New Revision: 40551
Modified:
grass/branches/releasebranch_6_4/mswindows/GRASS-Packager.bat
Log:
simplify packager script
Modified: grass/branches/releasebranch_6_4/mswindows/GRASS-Packager.bat
===================================================================
--- grass/branches/releasebranch_6_4/mswindows/GRASS-Packager.bat 2010-01-19 09:46:11 UTC (rev 40550)
+++ grass/branches/releasebranch_6_4/mswindows/GRASS-Packager.bat 2010-01-19 11:03:38 UTC (rev 40551)
@@ -12,41 +12,19 @@
rem Set the script variables
rem --------------------------------------------------------------------------------------------------------------------------
-set GRASS_64_RELEASE_PACKAGE_DIR=.\GRASS-64-Release-Package
-set GRASS_64_DEV_PACKAGE_DIR=.\GRASS-64-Dev-Package
-
set OSGEO4W_DIR=c:\osgeo4w
-set GRASS_64_RELEASE_INSTALL_FOLDER=%OSGEO4W_DIR%\apps\grass\grass-6.4.0
-set GRASS_64_DEV_INSTALL_FOLDER=%OSGEO4W_DIR%\apps\grass\grass-6.4.0svn
+rem set PACKAGE_DIR=.\GRASS-64-Release-Package
+set PACKAGE_DIR=.\GRASS-64-Dev-Package
+rem set GRASS_PREFIX=%OSGEO4W_DIR%\apps\grass\grass-6.4.0
+set GRASS_PREFIX=%OSGEO4W_DIR%\apps\grass\grass-6.4.0svn
- at echo Select the GRASS version to pack:
@echo.
- at echo 1. Current GRASS-64 Release Version
- at echo.
- at echo 2. Current GRASS-64 Development Version
- at echo.
-
-set /p SELECTION=Enter your selection (1/2):
-
-if %SELECTION%==1 (
-set PACKAGE_DIR=%GRASS_64_RELEASE_PACKAGE_DIR%
-set GRASS_PREFIX=%GRASS_64_RELEASE_INSTALL_FOLDER%
-)
-
-if %SELECTION%==2 (
-set PACKAGE_DIR=%GRASS_64_DEV_PACKAGE_DIR%
-set GRASS_PREFIX=%GRASS_64_DEV_INSTALL_FOLDER%
-)
-
- at echo.
@echo -----------------------------------------------------------------------------------------------------------------------
@echo Remove the previous Selected Package and create a new PACKAGE_DIR
@echo -----------------------------------------------------------------------------------------------------------------------
@echo.
-rem pause
-
if exist %PACKAGE_DIR% rmdir /S/Q %PACKAGE_DIR%
mkdir %PACKAGE_DIR%
@@ -201,4 +179,3 @@
@echo Packaging Completed
@echo -----------------------------------------------------------------------------------------------------------------------
@echo.
-pause
More information about the grass-commit
mailing list