summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV/Distribconf.pm')
-rw-r--r--lib/MDV/Distribconf.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MDV/Distribconf.pm b/lib/MDV/Distribconf.pm
index 75cc181..b612b19 100644
--- a/lib/MDV/Distribconf.pm
+++ b/lib/MDV/Distribconf.pm
@@ -418,10 +418,10 @@ sub _expand {
$level ||= 0; # avoid infinite loop
++$level >= 15 and return $value;
- $value =~ s@\%{(\w+)}@
+ $value =~ s@\%\{(\w+)\}@
$self->getvalue($media, $1) || '%{' . $1 . '}';
@eg;
- $value =~ s@\${(\w+)}@
+ $value =~ s@\$\{(\w+)\}@
$self->getvalue('media_info', $1, $level) || '${' . $1 . '}';
@eg;