Changeset 24789

Show
Ignore:
Timestamp:
21.10.2011 18:36:36 (8 years ago)
Author:
ak19
Message:

Cleaning up fix committed with revision 24786: won't try deleting gliserver.pl.bak unless it exists.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/gsicontrol.bat

    r24788 r24789  
    204204for /F "delims=*" %%T in ('"echo %gsdlhome%| %_sed% s@\\@\\\\@g"') do set safenewhome=%%T 
    205205type "%cgibin%\gliserver.pl.bak" | %_sed% "s@%safeoldhome%@%safenewhome%@g" > "%cgibin%\gliserver.pl" 
    206 del "%cgibin%\gliserver.pl.bak" 
     206if exist "%cgibin%\gliserver.pl.bak" del "%cgibin%\gliserver.pl.bak" 
    207207set safenewhome= 
    208208set safeoldhome=