Skip to content

Commit

Permalink
fix(bootstrapping): quotation of build script
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Jan 17, 2024
1 parent 2bdabd2 commit bf7d8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Nuke.GlobalTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private static Process Build(string buildScript, string arguments)
: ToolPathResolver.GetPathExecutable("bash"),
Arguments = EnvironmentInfo.IsWin
? $"-ExecutionPolicy ByPass -NoProfile -File {buildScript.DoubleQuoteIfNeeded()} {arguments}"
: $"{buildScript} {arguments}"
: $"{buildScript.DoubleQuoteIfNeeded()} {arguments}"
};
startInfo.Environment[Constants.GlobalToolVersionEnvironmentKey] = typeof(Program).Assembly.GetVersionText();
startInfo.Environment[Constants.GlobalToolStartTimeEnvironmentKey] = DateTime.Now.ToString("O");
Expand Down

0 comments on commit bf7d8f7

Please sign in to comment.