Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2604 for trunk


Ignore:
Timestamp:
01/05/10 19:10:29 (14 years ago)
Author:
swagner
Message:

Fixed problem in post-build scripts when the project directory contains a space. #799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/CustomPostBuildTemplate_UpdateLocalInstallation.cmd

    r2603 r2604  
    66copy HeuristicLab.PluginInfrastructure.dll "%target%"
    77
    8 FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (%ProjectDir%\Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%"
     8FOR /F "skip=1 tokens=1-2 delims=: usebackq" %%G IN ("%ProjectDir%\Files.txt") DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%"
    99
    1010
    1111echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
    1212if "%Platform%" == "x86" (   
    13   FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%"
     13  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%"
    1414) else if "%Platform%" == "x64" (
    15   FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%"
     15  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%"
    1616) else if "%Platform%" == "AnyCPU" (
    1717  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
    18   FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%"
     18  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x64.txt") DO copy "%SolutionDir%\%%G" "%target%"
    1919  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
    20   FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%"
     20  FOR /F "skip=1 tokens=* usebackq" %%G IN ("%ProjectDir%\Files.x86.txt") DO copy "%SolutionDir%\%%G" "%target%"
    2121  ) else (
    2222    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
Note: See TracChangeset for help on using the changeset viewer.