mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Fix for building from scratch.
Reviewed by me.
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user