Browse Source

support for git password input

Simon Krajewski 13 years ago
parent
commit
60fb840a8d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      std/tools/haxelib/Main.hx

+ 2 - 3
std/tools/haxelib/Main.hx

@@ -778,10 +778,9 @@ class Main {
 			null;
 
 		print("Installing " +libName + " from " +gitPath);
-		var ret = command("git", ["clone", gitPath, libPath]);
-		if (ret.code != 0)
+		if (neko.Sys.command("git clone \"" +gitPath + "\" \"" +libPath + "\"") != 0)
 		{
-			print("Could not clone git repository: " +ret.out);
+			print("Could not clone git repository");
 			return;
 		}
 		Sys.setCwd(libPath);