Skip to content

Commit

Permalink
[osx/preflight/cosmetics] - fixed identation
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed Oct 16, 2014
1 parent 4cad18d commit 85ffc7c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/darwin/runtime/preflight
Expand Up @@ -77,18 +77,18 @@ 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 ne "/" ) {
$xml .= (" " x 12)."<allowsharing>true</allowsharing>\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";
}
$xml .= (" " x 8)."</source>\n";
}
$xml .= (" " x 4)."</$sourcetype>\n";
Expand Down

0 comments on commit 85ffc7c

Please sign in to comment.