Changeset 24828


Ignore:
Timestamp:
2011-11-30T17:03:17+13:00 (12 years ago)
Author:
ak19
Message:

Property change from binary (application/octet-stream) file into no longer having the mime-type property set (which didn't allow me to do a diff on the file).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/gems.bat

    r24827 r24828  
    11@echo off
     2setlocal enabledelayedexpansion
     3
    24color 0A
    35pushd "%CD%"
     
    57set GLILANG=en
    68
    7 ::
     9
    810::  -------- Run the Greenstone Librarian Interface --------
    911
     
    4446    echo.
    4547    echo Checking if the Greenstone collection directory is writable ...
    46     (echo This is a temporary file. It is safe to delete it. > "%GSDLHOME%\collect\testing.tmp" ) 2>nul
     48    (echo This is a temporary file. It is safe to delete it. > "!GSDLHOME!\collect\testing.tmp" ) 2>nul
    4749    if exist "%GSDLHOME%\collect\testing.tmp" goto deleteTempFile
    4850    if "%1" == "Elevated" goto printWarning
    4951    echo ... FAILED
    50     echo The %PROGNAME% cannot write to the collection directory (%GSDLHOME%\collect)
     52    echo The %PROGNAME% cannot write to the collection directory (!GSDLHOME!\collect)
    5153    echo Requesting elevated status to become admin user to continue.
    5254    "%GSDLHOME%\bin\windows\gstart.exe" %0 Elevated %1 %2 %3 %4 %5 %6 %7 %8 %9
     
    5557:printWarning
    5658    echo ... FAILED
    57     echo The %PROGNAME% cannot write to the log directory (%GSDLHOME%\collect).
     59    echo The %PROGNAME% cannot write to the log directory (!GSDLHOME!\collect).
    5860    echo Attempting to continue without permissions.
    5961    goto shiftElevated
     
    101103if not "%GSDL3SRCHOME%" == "" (
    102104    echo GSDL3SRCHOME:
    103     echo %GSDL3SRCHOME%
     105    echo !GSDL3SRCHOME!
    104106    echo.
    105107)
     
    107109if not "%GSDL3HOME%" == "" (
    108110    echo GSDL3HOME:
    109     echo %GSDL3HOME%
     111    echo !GSDL3HOME!
    110112    echo.
    111113)
     
    113115if not "%GSDLHOME%" == "" (
    114116    echo GSDLHOME:
    115     echo %GSDLHOME%
     117    echo !GSDLHOME!
    116118    echo.
    117119)
     
    157159color 07
    158160popd
     161
     162endlocal
Note: See TracChangeset for help on using the changeset viewer.