diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-10-07 14:01:03 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-10-07 14:01:17 +0200 |
commit | 1f9cf874062a81bdcdbb06fce030fa887ead15a9 (patch) | |
tree | 924fb943718cd08f37cf9ee887fc7e6cc4e44dc2 /mansrv | |
parent | 2e8ca04ce3f407da2bd9e892d1498de05d18f559 (diff) | |
download | mansrv-master.tar.gz mansrv-master.tar.bz2 |
Diffstat (limited to 'mansrv')
-rwxr-xr-x | mansrv | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,13 +134,13 @@ sub interpret_file($$) { ${$s->varglob('PACKAGE')} = $package_name; ${$s->varglob('VERSION')} = $VERSION; ${$s->varglob('SERVER')} = "$ENV{REQUEST_SCHEME}://$ENV{SERVER_NAME}"; while (<$ifd>) { chomp; - s/\{%(.*)%\}/expand_template($s, $1, $file, $.)/ex; + s/\{%(.*?)%\}/expand_template($s, $1, $file, $.)/gex; print $ofd "$_\n"; } close($ifd); } sub interpret { |