Changeset 27832


Ignore:
Timestamp:
2013-07-12T18:23:03+12:00 (11 years ago)
Author:
ak19
Message:

Win GS3 gs3-setup.bat now checks whether setup has already been run by checking whether GSDL3SRCHOME has already been set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/gs3-setup.bat

    r24603 r27832  
    55set java_min_version=1.5.0_00
    66
    7 if exist gs3-setup.bat goto start
     7if exist gs3-setup.bat goto prelim
    88  echo This script must be run from within the Greenstone 3 home directory
    9   goto exit
     9  goto done
     10
     11:prelim
     12if "!GSDL3SRCHOME!" == "" goto start
     13if "!GSDL3SRCHOME!" == "!CD!" (
     14    echo Your environment is already set up for Greenstone3
     15    goto done
     16) else (
     17    echo Your environment was set up for Greenstone 3 in !GSDL3SRCHOME!.
     18    echo Overwriting that set up for the current Greenstone 3 in !CD!.
     19)
    1020
    1121:start
     
    168178echo.
    169179
     180:done
    170181:: End localisation of variables that started with the set local/set enabledelayedexpansion command
    171182:: Restore global variables that would otherwise be lost at script's end due to their having been initialised in a
Note: See TracChangeset for help on using the changeset viewer.