Skip to content

Commit

Permalink
Merge pull request #607 from DustinCampbell/build-powershell-tweak
Browse files Browse the repository at this point in the history
Pass -NoProfile when executing powershell scripts
  • Loading branch information
DustinCampbell authored Jul 7, 2016
2 parents f4d1dbf + 36f81aa commit 2798d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var workingDirectory = System.IO.Directory.GetCurrentDirectory();

// System specific shell configuration
var shell = IsRunningOnWindows() ? "powershell" : "bash";
var shellArgument = IsRunningOnWindows() ? "/Command" : "-C";
var shellArgument = IsRunningOnWindows() ? "-NoProfile /Command" : "-C";
var shellExtension = IsRunningOnWindows() ? "ps1" : "sh";

/// <summary>
Expand Down

0 comments on commit 2798d5b

Please sign in to comment.