[Swift-commit] r3654 - trunk/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri Oct 1 15:48:46 CDT 2010


Author: wozniak
Date: 2010-10-01 15:48:46 -0500 (Fri, 01 Oct 2010)
New Revision: 3654

Modified:
   trunk/libexec/cdm.pl
Log:
Additional minor fixes to CDM lookup


Modified: trunk/libexec/cdm.pl
===================================================================
--- trunk/libexec/cdm.pl	2010-10-01 20:35:58 UTC (rev 3653)
+++ trunk/libexec/cdm.pl	2010-10-01 20:48:46 UTC (rev 3654)
@@ -70,11 +70,11 @@
     $type   = shift(@tokens); 
     if ($type eq "rule") 
     {
-	$key    = shift(@tokens);
-	$rest   = join(' ', @tokens);
-	@keys   = (@keys, $key); 
+	$key = shift(@tokens);
 	if (! defined $map{$key}) 
 	{
+	    $rest = join(' ', @tokens);
+	    @keys = (@keys, $key); 
 	    $map{$key} = $rest;
 	}
     }




More information about the Swift-commit mailing list