Specify git checkout directory name
Guarantees that the checkout dir name is what we think.
This commit is contained in:
parent
e68fd74ed8
commit
ab6cc94a02
|
@ -145,8 +145,9 @@ namespace SparkleShare {
|
||||||
// Clone into the system's temporary folder
|
// Clone into the system's temporary folder
|
||||||
Process.StartInfo.FileName = "git";
|
Process.StartInfo.FileName = "git";
|
||||||
Process.StartInfo.WorkingDirectory = SparklePaths.SparkleTmpPath;
|
Process.StartInfo.WorkingDirectory = SparklePaths.SparkleTmpPath;
|
||||||
Process.StartInfo.Arguments = "clone ";
|
Process.StartInfo.Arguments = String.Format ("clone {0} {1}",
|
||||||
Process.StartInfo.Arguments += RepoRemoteUrl;
|
RepoRemoteUrl,
|
||||||
|
RepoName);
|
||||||
|
|
||||||
Process.WaitForExit ();
|
Process.WaitForExit ();
|
||||||
Process.Start ();
|
Process.Start ();
|
||||||
|
|
Loading…
Reference in a new issue