Changeset 20234 for greenstone3


Ignore:
Timestamp:
2009-08-12T13:28:52+12:00 (12 years ago)
Author:
oranfry
Message:

removing a little redundancy

Location:
greenstone3/trunk
Files:
2 edited

Legend:

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

    r20212 r20234  
    3434:: ---- Set the CLASSPATH and PATH environment variables ----
    3535if "%GS_CP_SET%" == "yes" goto skipSetCp
    36 set CLASSPATH=%GSDL3HOME%\WEB-INF\classes;%GSDL3SRCHOME%\resources\java;%GSDL3SRCHOME%\cp.jar;%CLASSPATH%;
     36set CLASSPATH=%GSDL3HOME%\WEB-INF\classes;%GSDL3SRCHOME%\resources\java;%GSDL3SRCHOME%\cp.jar;.;%CLASSPATH%;
    3737set PATH=%PATH%;%GSDL3SRCHOME%\bin;%GSDL3SRCHOME%\bin\script;%GSDL3SRCHOME%\lib\jni;%ANT_HOME%\bin
    3838
     
    4848
    4949:: ---- Search for java ----
    50 bin\search4j.exe -p "%CD%\packages\jre" -m %java_min_version% | winutil\setvar.exe _JRE_HOME > %TMP%\set_jre_home.bat
     50if exist bin\search4j.exe then bin\search4j.exe -p "%CD%\packages\jre" -m %java_min_version% | winutil\setvar.exe _JRE_HOME > %TMP%\set_jre_home.bat
    5151call %TMP%\set_jre_home.bat
    5252del %TMP%\set_jre_home.bat
  • greenstone3/trunk/gs3-setup.sh

    r20233 r20234  
    109109  #done
    110110
    111   addtopath CLASSPATH "."
    112111  echo "  - Adjusted CLASSPATH"
    113112
Note: See TracChangeset for help on using the changeset viewer.