Changeset 24789


Ignore:
Timestamp:
10/21/11 18:36:36 (9 years ago)
Author:
ak19
Message:

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

File:
1 edited

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=
Note: See TracChangeset for help on using the changeset viewer.