[Swift-commit] r7451 - branches/release-0.95/bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Mon Dec 23 16:44:51 CST 2013


Author: davidk
Date: 2013-12-23 16:44:51 -0600 (Mon, 23 Dec 2013)
New Revision: 7451

Modified:
   branches/release-0.95/bin/swiftrun
Log:
Fix to get the right property names back


Modified: branches/release-0.95/bin/swiftrun
===================================================================
--- branches/release-0.95/bin/swiftrun	2013-12-23 22:44:36 UTC (rev 7450)
+++ branches/release-0.95/bin/swiftrun	2013-12-23 22:44:51 UTC (rev 7451)
@@ -168,8 +168,8 @@
    
    else { 
       my ( $xmlnamespace, $xmlproperty ) = split(/\./, $site_aliases{ $propertyStart });
-      if ( defined($xmlnamespace) ) {
-         return "<profile namespace=\"" . $xmlnamespace . "\" key=\"" . $property . "\">" . $value . "</profile>\n"; 
+      if ( defined($xmlnamespace) && defined($xmlproperty)) {
+         return "<profile namespace=\"" . $xmlnamespace . "\" key=\"" . $xmlproperty . "\">" . $value . "</profile>\n"; 
       }
    }
 } 




More information about the Swift-commit mailing list