Changeset 22526
- Timestamp:
- 2010-07-30T12:29:58+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/gli.bat
r22525 r22526 10 10 11 11 :: This script must be run from within the directory in which it lives 12 if exist gli.bat goto checkUserPermissions12 if exist gli.bat goto start 13 13 if "%GLILANG%" == "en" echo This script must be run from the directory in which it resides. 14 14 if "%GLILANG%" == "es" echo Este gui¢n deber ejecutarse desde el directorio en el que reside. … … 17 17 if "%GLILANG%" == "ru" echo â®â áªàš¯â €®«Š¥ ¡ëâì ¢§ïâ š§ €šà¥ªâ®àšš, ¢ ª®â®à®© ® à ᯮ«®Š¥ 18 18 goto exit 19 20 :checkUserPermissions21 echo Checking if GSDLHOME is writable...22 echo This is a temporary file. It is safe to delete it. > "%GSDLHOME%\collect\testing.tmp"23 if exist "%GSDLHOME%\collect\testing.tmp" goto deleteTempFile24 if "%1" == "Elevated" goto start25 "%GSDLHOME%\bin\windows\gstart.exe" %0 Elevated %1 %2 %3 %4 %5 %6 %7 %8 %926 goto done27 28 :deleteTempFile29 del "%GSDLHOME%\collect\testing.tmp"30 19 31 20 :start … … 55 44 if "%GSDLHOME%" == "" goto exit 56 45 46 :checkUserPermissions 47 echo Checking if the collection directory is writable... 48 echo This is a temporary file. It is safe to delete it. > "%GSDLHOME%\collect\testing.tmp" 49 if exist "%GSDLHOME%\collect\testing.tmp" goto deleteTempFile 50 if "%1" == "Elevated" goto findPerl 51 if "%2" == "Elevated" goto findPerl 52 "%GSDLHOME%\bin\windows\gstart.exe" %0 %1 Elevated %2 %3 %4 %5 %6 %7 %8 %9 53 goto done 54 55 :deleteTempFile 56 del "%GSDLHOME%\collect\testing.tmp" 57 58 :findPerl 57 59 :: Now need to find Perl. If found, PERLPATH will be set 58 60 call findperl.bat
Note:
See TracChangeset
for help on using the changeset viewer.