Fixed problem with FILE.remove sometimes failing to delete the symbolic link.

This commit is contained in:
Aparajita Fishman committed 2011-09-15 14:28:57 -07:00
1 parent 9e7b737960
commit ad792d9772
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ task ("build", function()
FILE.chmod(FILE.join(supportPath, "Contents", "MacOS", "xcodecapp-cocoa"), 0755);
if (FILE.exists(installPath))
FILE.remove(installPath);
OS.system(["rm", "-f", installPath]);
FILE.symlink(supportPath, installPath);
}
else