Skip to content

Commit 3f7a76e

Browse files
committed
Clean up build of templating submodule
- response file otherwise contains invalid `/p:RepositoryRoot="...\Templating\\\"`
1 parent 36dce90 commit 3f7a76e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build/RepositoryBuild.targets

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@
119119

120120
<Message Text="============ Building $(RepositoryToBuild) ============" Importance="High" />
121121

122+
<!-- Remove final slash in $(BuildRepositoryRoot) to avoid problems due to KoreBuild adding one on Windows. -->
122123
<Exec
123-
Command="./$(_BuildScriptToExecute) -Path $(BuildRepositoryRoot) $(BuildArguments)"
124+
Command="./$(_BuildScriptToExecute) -Path $(BuildRepositoryRoot.TrimEnd('\\')) $(BuildArguments)"
124125
IgnoreStandardErrorWarningFormat="true"
125126
WorkingDirectory="$(RepositoryRoot)"
126127
IgnoreExitCode="true"
@@ -163,8 +164,9 @@
163164

164165
<Message Text="============ Testing $(RepositoryToBuild) ============" Importance="High" />
165166

167+
<!-- Remove final slash in $(BuildRepositoryRoot) to avoid problems due to KoreBuild adding one on Windows. -->
166168
<Exec Condition="'$(SkipTestsDueToMissingSharedFx)' != 'true' "
167-
Command="./$(_BuildScriptToExecute) -Path $(BuildRepositoryRoot) $(BuildArguments)"
169+
Command="./$(_BuildScriptToExecute) -Path $(BuildRepositoryRoot.TrimEnd('\\')) $(BuildArguments)"
168170
IgnoreStandardErrorWarningFormat="true"
169171
WorkingDirectory="$(RepositoryRoot)"
170172
IgnoreExitCode="true">

0 commit comments

Comments
 (0)