From b599c88582f519a791e995588c949dad351a55c7 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 9 Sep 2014 12:57:56 +0000 Subject: [PATCH] build: fix an infinite loop in one of our build scripts and work around a bug that causes the log files to be saved to an incorrect location. --- build/visualstudio/Lol.Core.Rules.props | 4 +++- build/visualstudio/Lol.Core.Vars.props | 11 +++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/build/visualstudio/Lol.Core.Rules.props b/build/visualstudio/Lol.Core.Rules.props index 856d6aa2..99bfb949 100644 --- a/build/visualstudio/Lol.Core.Rules.props +++ b/build/visualstudio/Lol.Core.Rules.props @@ -96,7 +96,9 @@ set A=$(SdlLibs) :again for /f "tokens=1* delims=;" %%I in ("%A%") do ( - if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" && set A=%%J + if not "%%I" == "" echo xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" + if not "%%I" == "" xcopy /y /c /d "%%I"\*.dll "$(TargetDir)" + if not "%%I" == "" set A=%%J if not "%%I" == "" goto again ) diff --git a/build/visualstudio/Lol.Core.Vars.props b/build/visualstudio/Lol.Core.Vars.props index a3fbc639..a1e607a5 100644 --- a/build/visualstudio/Lol.Core.Vars.props +++ b/build/visualstudio/Lol.Core.Vars.props @@ -83,9 +83,12 @@ $(XboxDefines) + + + $(ExternalDir) $(FlexDir) @@ -127,8 +130,12 @@ $(OrbisLibs) $(OrbisDefines) + - $(SolutionDir)\..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\ - $(SolutionDir)\..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\ + + $(SolutionDir)..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\ + $(SolutionDir)..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\ +