aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'tools/darwin')
-rwxr-xr-xtools/darwin/runtime/preflight15
1 files changed, 8 insertions, 7 deletions
diff --git a/tools/darwin/runtime/preflight b/tools/darwin/runtime/preflight
index 3240b04e00..eccbf3a5d0 100755
--- a/tools/darwin/runtime/preflight
+++ b/tools/darwin/runtime/preflight
@@ -77,13 +77,14 @@ sub get_sources_xml {
while ( ($name, $path) = each( %{ $source } ) ) {
$xml .= (" " x 8)."<source>\n";
$xml .= (" " x 12)."<name>$name</name>\n";
- if ( $path =~ /(.*)\^\^(.*)/ ) {
- $xml .= (" " x 12)."<path>".$1."</path>\n";
- $xml .= (" " x 12)."<thumbnail>".$2."</thumbnail>\n";
- }
- else {
- $xml .= (" " x 12)."<path>".$path."</path>\n";
- }
+
+ if ( $path =~ /(.*)\^\^(.*)/ ) {
+ $xml .= (" " x 12)."<path>".$1."</path>\n";
+ $xml .= (" " x 12)."<thumbnail>".$2."</thumbnail>\n";
+ }
+ else {
+ $xml .= (" " x 12)."<path>".$path."</path>\n";
+ }
if ($path ne "/" ) {
$xml .= (" " x 12)."<allowsharing>true</allowsharing>\n";