diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2013-06-25 09:40:10 -0400 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-06-25 18:08:29 +0200 |
commit | e3849445d2bb8439232a53fe0e0deb81c0132d4f (patch) | |
tree | 9738c1765cb4ae982a2658f5f23548011ac3991b | |
parent | 30e9e1c9000ebf4e1d9f3566d5c92e5ba9226ed1 (diff) | |
download | qbs-e3849445d2bb8439232a53fe0e0deb81c0132d4f.tar.gz |
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.qbs | 8 |
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; |