Skip to content

Commit

Permalink
coapp.powershell issue coapp#104, make sure path being prepended to P…
Browse files Browse the repository at this point in the history
…ATH environment variable ends with a semicolon.
  • Loading branch information
Dakota Hawkins committed May 5, 2015
1 parent 9b95630 commit aa642cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clrplus/Scripting.MsBuild/Packaging/ProjectPlus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,10 @@ internal ListWithAction<string> BuildTimePath(string condition) {
}

return _buildTimePaths.GetOrAdd(condition, () => new ListWithAction<string>(path => {

if (!path.EndsWith(";")) {
path += ";";
}

var tsk = ((ProjectTargetElement)SecondInitTarget).AddTask("SetEnv");
tsk.Condition = Pivots.GetMSBuildCondition(Name, condition);

Expand Down

0 comments on commit aa642cc

Please sign in to comment.