summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-22 19:05:41 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-22 19:05:41 +0000
commitf1b4e18c138d7c6e8e44ed364653776b50710fc4 (patch)
tree5169408f7ce55547a3028aae531671ee919b0bc1
parent698ebe13e673ffc265b2b38a8279cc77d0386958 (diff)
Adjusting upgrade-templates.pl to handle multiple tags in a line
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1310 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--upgrade-templates.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade-templates.pl b/upgrade-templates.pl
index 807a7f9a..49bf0e01 100644
--- a/upgrade-templates.pl
+++ b/upgrade-templates.pl
@@ -17,7 +17,7 @@ sub process_dir {
}
elsif ( $entry !~ /^\./ ) {
print "Processing path $path\n";
- `perl -ibak -pe 's|\<\%(.*)\%\>|<?lsmb \$1 ?>|g' $path`;
+ `perl -ibak -pe 's|\<\%(.*?)\%\>|<?lsmb \$1 ?>|g' $path`;
}
}
}