Browse Source

minor (fixed #413)

Nicolas Cannasse 14 years ago
parent
commit
ea654cdd1d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      std/tools/haxelib/Main.hx

+ 1 - 0
std/tools/haxelib/Main.hx

@@ -522,6 +522,7 @@ class Main {
 				"/usr/lib/haxe/"+REPNAME;
 			else
 				throw "This is the first time you are runing haxelib. Please run haxelib setup first";
+		rep = StringTools.trim(rep);
 		if( setup ) {
 			print("Please enter haxelib repository path with write access");
 			print("Hit enter for default ("+rep+")");