From 10833cd9be13c7b08f832e36d349c7a5acc2cd1d Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 11 Aug 2008 19:54:33 +0000 Subject: [PATCH] Single quotes --- majordomo/majordomo-lib.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/majordomo/majordomo-lib.pl b/majordomo/majordomo-lib.pl index 9b26b0aae..f56647791 100644 --- a/majordomo/majordomo-lib.pl +++ b/majordomo/majordomo-lib.pl @@ -15,7 +15,8 @@ local(@rv, $line); open(CONF, $config{'majordomo_cf'}); while() { s/\r|\n//g; - if (/^\s*\$(\S+)\s*=\s*"(.*)";\s*$/) { + if (/^\s*\$(\S+)\s*=\s*"(.*)";\s*$/ || + /^\s*\$(\S+)\s*=\s*'(.*)';\s*$/) { # static config option push(@rv, { 'name' => $1, 'value' => &perl_unescape($2),