aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-10-16 13:24:49 +0200
committerMemphiz <memphis@machzwo.de>2014-10-16 13:24:49 +0200
commit4cad18db38754a779ca4e5ed56d32f935323b93f (patch)
treeefb048577c8ec9f6c7b9daaf68edcba5afbbab40 /tools
parentcc6c9a0772dfcd0a30751542f8607a29fedca283 (diff)
[osx/preflight] - add allowsharing tag to non-root default sources
Diffstat (limited to 'tools')
-rwxr-xr-xtools/darwin/runtime/preflight5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/darwin/runtime/preflight b/tools/darwin/runtime/preflight
index e1fa21081c..3240b04e00 100755
--- a/tools/darwin/runtime/preflight
+++ b/tools/darwin/runtime/preflight
@@ -84,6 +84,11 @@ sub get_sources_xml {
else {
$xml .= (" " x 12)."<path>".$path."</path>\n";
}
+
+ if ($path ne "/" ) {
+ $xml .= (" " x 12)."<allowsharing>true</allowsharing>\n";
+ }
+
$xml .= (" " x 8)."</source>\n";
}
$xml .= (" " x 4)."</$sourcetype>\n";