mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-20 23:35:01 +00:00
Fix for symlink creation sometimes failing.
This commit is contained in:
1 parent
d25e96902f
commit
8d210100a5
1 file changed
+1
-3
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user