summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/configpm b/configpm
index 86abd6d487..6216f85ae0 100755
--- a/configpm
+++ b/configpm
@@ -249,7 +249,7 @@ sub config_sh {
sub config_re {
my $re = shift;
- my @matches = ($config_sh =~ /^$re=.*\n/mg);
+ my @matches = grep /^$re=/, split /^/, $config_sh;
@matches ? (print @matches) : print "$re: not found\n";
}