summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`;
}
}
}