Changeset 21983 for main/trunk/gs2build

Show
Ignore:
Timestamp:
28.04.2010 18:36:22 (10 years ago)
Author:
ak19
Message:

All of a sudden, unnoticed by the rest of us, gs3-setup.bat now calls gs2build\setup.bat which sadly got stuck with a placeholder value for GSDLHOME. Though useful for the release-kit which would replace it with a sensible value, the placeholder remains when gs3-setup.bat calls it and things look ugly. We're now forcing a sensible value if one is not assigned (e.g. by the releasekit).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gs2build/setup.bat

    r17224 r21983  
    1212:WinNT 
    1313set GSDLHOME=**GSDLHOME** 
     14if "%GSDLHOME%"=="**GSDLHOME**" ( 
     15pushd "%CD%" 
     16CD /D "%~dp0" 
     17set GSDLHOME=%CD% 
     18popd 
     19) 
    1420set GSDLOS=windows 
    1521 
     
    3238:Win95Env 
    3339set GSDLHOME=**GSDLHOME** 
     40if "%GSDLHOME%"=="**GSDLHOME**" ( 
     41pushd "%CD%" 
     42CD /D "%~dp0" 
     43set GSDLHOME=%CD% 
     44popd 
     45) 
    3446set GSDLOS=windows 
    3547 
     
    6779:End 
    6880 
     81 
     82echo. 
     83echo I GOT HERE 
     84echo. %GSDLHOME%\bin\script\checkwritability.bat 
    6985:: test writability of GSDLHOME 
    7086@call "%GSDLHOME%\bin\script\checkwritability.bat"