Changeset 23655


Ignore:
Timestamp:
02/01/11 22:35:36 (10 years ago)
Author:
ak19
Message:

Sam had discovered that env variables in Win Batch files that occur inside round brackets of if-else stmts need to be using setdelayedexpansion (where exclamation marks replace percent signs). Updated this for 3 setup.bat files in the extensions folder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video-and-audio/trunk/src/setup.bat

    r23036 r23655  
    4545
    4646
     47setlocal enabledelayedexpansion
    4748if "x%GSDLEXTS%" == "x" (
    48   set GSDLEXTS=%extdir%
     49  set GSDLEXTS=!extdir!
    4950) else (
    50   set GSDLEXTS=%GSDLEXTS%:%extdir%
     51  set GSDLEXTS=!GSDLEXTS!:!extdir!
    5152)
     53endlocal & set GSDLEXTS=%GSDLEXTS%
    5254
    5355echo +Your environment is now setup for %extdesc%
Note: See TracChangeset for help on using the changeset viewer.