Ignore:
Timestamp:
2010-05-03T14:58:23+12:00 (14 years ago)
Author:
ak19
Message:

Modified this script so that it can now be run from anywhere

File:
1 edited

Legend:

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

    r18286 r22016  
     1
    12@echo off
    2 
    33
    44:: If you wish to use a JDK instead of the provided JRE then please use the line below
     
    66set _JDK_HOME=
    77
    8 
    9 
     8pushd "%CD%"
     9CD /D "%~dp0"
    1010set GAILANG=en
    11 
    12 
    1311
    1412set PROGNAME=Greenstone Administrator Interface
     
    2018if "%GLILANG%" == "en" echo %PROGABBR% comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
    2119if "%GLILANG%" == "en" echo This is free software, and you are welcome to redistribute it
    22 
    23 ::  -------- Run the Greenstone Administrator Interface --------
    24 
    25 ::  This script must be run from within the directory in which it lives
    26 if exist gs3-admin.bat goto setvars
    27     if "%GAILANG%" == "en" echo This script must be run from the directory in which it resides.
    28     if "%GAILANG%" == "es" echo Este guiï¿œn deberï¿œ ejecutarse desde el directorio en el que reside.
    29     if "%GLILANG%" == "es" echo Este guiï¿œn deberï¿œ ejecutarse desde el directorio en el que reside.
    30     if "%GLILANG%" == "fr" echo Ce script doit ï¿œtre exï¿œcutï¿œ ï¿œ partir du rï¿œpertoire dans lequel il se trouve.
    31     if "%GLILANG%" == "ru" echo ᅵᅵᅵᅵ ï¿œï¿œàš¯ï¿œ ᅵᅵᅵᅵᅵᅵ ᅵᅵᅵᅵ ᅵᅵᅵᅵ ᅵᅵ ï¿œï¿œà¥ªï¿œï¿œàšš, ï¿œ ᅵᅵᅵᅵன ᅵᅵ ᅵᅵᯮᅵᅵᅵᅵᅵ
    32     goto exit
    33 
    3420
    3521::  ---- Determine GSDL3HOME ----
     
    6955:exit
    7056echo.
    71 pause
    72 
     57popd
    7358:done
    7459:: ---- Clean up ----
    75 
    76 
    77 
    78 
    79 
    80 
Note: See TracChangeset for help on using the changeset viewer.