diff options
author | Memphiz <memphis@machzwo.de> | 2014-10-16 16:17:22 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2014-10-16 16:17:22 +0200 |
commit | c42a46e9eaa8224ca2b087dbeb135b1157db5edd (patch) | |
tree | 99b6a4b47eb4decf88519ff698af7bdc3622f716 /tools/darwin | |
parent | 4cad18db38754a779ca4e5ed56d32f935323b93f (diff) |
[osx/preflight/cosmetics] - fixed identation
Diffstat (limited to 'tools/darwin')
-rwxr-xr-x | tools/darwin/runtime/preflight | 15 |
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"; |