[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1310] branches/1.2/upgrade-templates.pl



Revision: 1310
          http://svn.sourceforge.net/ledger-smb/?rev=1310&view=rev
Author:   tetragon
Date:     2007-06-22 12:05:41 -0700 (Fri, 22 Jun 2007)

Log Message:
-----------
Adjusting upgrade-templates.pl to handle multiple tags in a line

Modified Paths:
--------------
    branches/1.2/upgrade-templates.pl

Modified: branches/1.2/upgrade-templates.pl
===================================================================
--- branches/1.2/upgrade-templates.pl	2007-06-22 19:04:36 UTC (rev 1309)
+++ branches/1.2/upgrade-templates.pl	2007-06-22 19:05:41 UTC (rev 1310)
@@ -17,7 +17,7 @@
         }
         elsif ( $entry !~ /^\./ ) {
             print "Processing path $path\n";
-            `perl -ibak -pe 's|\<\%(.*)\%\>|<?lsmb \$1 ?>|g' $path`;
+            `perl -ibak -pe 's|\<\%(.*?)\%\>|<?lsmb \$1 ?>|g' $path`;
         }
     }
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.