- Timestamp:
- 2011-11-30T17:00:14+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/gems.bat
r24826 r24827 1 1 @echo off 2 setlocal enabledelayedexpansion3 4 2 color 0A 5 3 pushd "%CD%" … … 7 5 set GLILANG=en 8 6 9 7 :: 10 8 :: -------- Run the Greenstone Librarian Interface -------- 11 9 … … 46 44 echo. 47 45 echo Checking if the Greenstone collection directory is writable ... 48 (echo This is a temporary file. It is safe to delete it. > " !GSDLHOME!\collect\testing.tmp" ) 2>nul46 (echo This is a temporary file. It is safe to delete it. > "%GSDLHOME%\collect\testing.tmp" ) 2>nul 49 47 if exist "%GSDLHOME%\collect\testing.tmp" goto deleteTempFile 50 48 if "%1" == "Elevated" goto printWarning 51 49 echo ... FAILED 52 echo The %PROGNAME% cannot write to the collection directory ( !GSDLHOME!\collect)50 echo The %PROGNAME% cannot write to the collection directory (%GSDLHOME%\collect) 53 51 echo Requesting elevated status to become admin user to continue. 54 52 "%GSDLHOME%\bin\windows\gstart.exe" %0 Elevated %1 %2 %3 %4 %5 %6 %7 %8 %9 … … 57 55 :printWarning 58 56 echo ... FAILED 59 echo The %PROGNAME% cannot write to the log directory ( !GSDLHOME!\collect).57 echo The %PROGNAME% cannot write to the log directory (%GSDLHOME%\collect). 60 58 echo Attempting to continue without permissions. 61 59 goto shiftElevated … … 103 101 if not "%GSDL3SRCHOME%" == "" ( 104 102 echo GSDL3SRCHOME: 105 echo !GSDL3SRCHOME!103 echo %GSDL3SRCHOME% 106 104 echo. 107 105 ) … … 109 107 if not "%GSDL3HOME%" == "" ( 110 108 echo GSDL3HOME: 111 echo !GSDL3HOME!109 echo %GSDL3HOME% 112 110 echo. 113 111 ) … … 115 113 if not "%GSDLHOME%" == "" ( 116 114 echo GSDLHOME: 117 echo !GSDLHOME!115 echo %GSDLHOME% 118 116 echo. 119 117 ) … … 159 157 color 07 160 158 popd 161 162 endlocal
Note:
See TracChangeset
for help on using the changeset viewer.