Fix for symlink creation sometimes failing.

This commit is contained in:
Aparajita Fishman committed 2011-09-15 16:41:52 -07:00
1 parent d25e96902f
commit 8d210100a5
1 file changed
+1 -3
+1 -3
View File
@@ -22,9 +22,7 @@ task ("build", function()
cp_r(FILE.join("build", "Release", "xcodecapp-cocoa.app"), supportPath);
FILE.chmod(FILE.join(supportPath, "Contents", "MacOS", "xcodecapp-cocoa"), 0755);
if (FILE.exists(installPath))
OS.system(["rm", "-f", installPath]);
FILE.symlink(supportPath, installPath);
OS.system(["ln", "-sf", supportPath, installPath]);
}
else
{