Changeset 23650 for main/trunk
- Timestamp:
- 2011-02-01T22:13:06+13:00 (13 years ago)
- Location:
- main/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/gli.bat
r22575 r23650 1 1 @echo off 2 2 color 0A 3 pushd "%CD%" 3 set startdir=%CD% 4 rem pushd "%CD%" 4 5 CD /D "%~dp0" 5 6 set GLILANG=en … … 71 72 if "%1" == "Elevated" shift 72 73 74 :: Make sure we're in the GLI folder, even if located outside a GS installation 75 CD /D "%~dp0" 76 73 77 :findPerl 74 78 :: Now need to find Perl. If found, PERLPATH will be set … … 192 196 pause 193 197 color 07 194 popd198 rem popd 195 199 196 200 :done … … 204 208 set PROGABBR= 205 209 color 07 206 popd 210 rem popd 211 cd "%startdir%" 212 set startdir= -
main/trunk/greenstone2/setup.bat
r23011 r23650 96 96 97 97 :End 98 popd 98 99 endlocal & set PATH=%PATH%& set GSDLHOME=%GSDLHOME%& set GSDLOS=%GSDLOS% 99 100 101 pushd 102 cd "%GSDLHOME%" 100 103 if exist ext ( 101 104 for /D %%e IN ("ext/*") do ( 102 cd ext\%%e105 cd "ext\%%e" 103 106 if EXIST setup.bat call setup.bat 104 cd ..\..107 cd "%GSDLHOME%" 105 108 ) 106 109 ) 110 popd 111 107 112 setlocal enabledelayedexpansion 108 113 pushd 114 cd "%GSDLHOME%" 109 115 if exist apache-httpd ( 110 116 echo +Adding in executable path for apache-httpd … … 123 129 set PATH=!GSDLHOME!\local\bin;!PATH! 124 130 ) 131 popd 125 132 126 133 :: test writability of GSDLHOME 127 134 @call "!GSDLHOME!\bin\script\checkwritability.bat" 128 popd129 130 135 endlocal & set PATH=%PATH%& set GSDLHOME=%GSDLHOME%& set GSDLOS=%GSDLOS%
Note:
See TracChangeset
for help on using the changeset viewer.