Permalink
Browse files

Added " around exe and arguments in the "kudu command" for the post-r…

…eceive,

This is in order to fix issue 103 where the hook fails when there is a space.
  • Loading branch information...
Amit Apple
Amit Apple committed Oct 9, 2012
1 parent a05596d commit a844f0e835d803c99e3f4494f7a419710542421f
Showing with 4 additions and 4 deletions.
  1. +4 −4 Kudu.Core/SourceControl/Git/GitExeServer.cs
@@ -235,10 +235,10 @@ private static class KnownEnviornment
public const string DEPLOYER = "KUDU_DEPLOYER";
// Command to launch the post receive hook
public static string KUDUCOMMAND = "$" + EXEPATH + " " +
"$" + APPPATH + " " +
"$" + MSBUILD + " " +
"$" + DEPLOYER;
public static string KUDUCOMMAND = "\"$" + EXEPATH + "\" " +
"\"$" + APPPATH + "\" " +
"\"$" + MSBUILD + "\" " +
"\"$" + DEPLOYER + "\"";
}
}
}

0 comments on commit a844f0e

Please sign in to comment.