aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-06-25 09:40:10 -0400
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-06-25 18:08:29 +0200
commite3849445d2bb8439232a53fe0e0deb81c0132d4f (patch)
tree9738c1765cb4ae982a2658f5f23548011ac3991b
parent30e9e1c9000ebf4e1d9f3566d5c92e5ba9226ed1 (diff)
Overwrite existing symlinks in framework bundle artifacts.
Change-Id: I1d3a54889ab27605af1bb2fcdc73c0687afb1709 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--share/qbs/modules/cpp/DarwinGCC.qbs8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs
index 497afda72..2846f67b1 100644
--- a/share/qbs/modules/cpp/DarwinGCC.qbs
+++ b/share/qbs/modules/cpp/DarwinGCC.qbs
@@ -304,21 +304,21 @@ UnixGCC {
prepare: {
var commands = [];
- var cmd = new Command("ln", ["-s", BundleTools.frameworkVersion(product), "Current"]);
+ var cmd = new Command("ln", ["-sf", BundleTools.frameworkVersion(product), "Current"]);
cmd.workingDirectory = output.fileName + "/Versions";
cmd.description = "creating framework " + product.targetName;
cmd.highlight = "codegen";
commands.push(cmd);
- cmd = new Command("ln", ["-s", "Versions/Current/Headers", "Headers"]);
+ cmd = new Command("ln", ["-sf", "Versions/Current/Headers", "Headers"]);
cmd.workingDirectory = output.fileName;
commands.push(cmd);
- cmd = new Command("ln", ["-s", "Versions/Current/Resources", "Resources"]);
+ cmd = new Command("ln", ["-sf", "Versions/Current/Resources", "Resources"]);
cmd.workingDirectory = output.fileName;
commands.push(cmd);
- cmd = new Command("ln", ["-s", "Versions/Current/" + product.targetName, product.targetName]);
+ cmd = new Command("ln", ["-sf", "Versions/Current/" + product.targetName, product.targetName]);
cmd.workingDirectory = output.fileName;
commands.push(cmd);
return commands;