Skip to content
Browse files

Added missing statement separator, concatenated var block, fixed syml…

…ink deletion/creation sometimes failing.
  • Loading branch information...
1 parent 5b00f7f commit 03d1bb8bce9e742a5956c4f19500e5308316ebc6 @aparajita aparajita committed Sep 15, 2011
Showing with 5 additions and 7 deletions.
  1. +5 −7 Tools/xcodecapp-cocoa/Jakefile
View
12 Tools/xcodecapp-cocoa/Jakefile
@@ -1,10 +1,10 @@
require("../../common.jake");
-var OS = require("os");
-var task = require("jake").task
-var stream = require("narwhal/term").stream;
-var applicationName = "xcodecapp-cocoa.app";
+var OS = require("os"),
+ task = require("jake").task,
+ stream = require("narwhal/term").stream,
+ applicationName = "xcodecapp-cocoa.app";
task ("build", function()
{
@@ -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))
- FILE.remove(installPath);
- FILE.symlink(supportPath, installPath);
+ OS.system(["ln", "-sf", supportPath, installPath]);
}
else
{

0 comments on commit 03d1bb8

Please sign in to comment.
Something went wrong with that request. Please try again.