Fix for building from scratch.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2009-10-13 15:42:44 -07:00
parent 2cc723752e
commit b43b097d40
6 changed files with 10 additions and 1781 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ global.cp_r = function(/*String*/ from, /*String*/ to)
if (FILE.isDirectory(from))
FILE.copyTree(from, to);
else
FILE.copy(from, to);
else{try{
FILE.copy(from, to);}catch(e) { print(e + FILE.exists(from) + " " + FILE.exists(FILE.dirname(to))); }}
}
global.cp = function(/*String*/ from, /*String*/ to)