|
From: Matthias S. <zz...@ge...> - 2015-09-05 13:29:26
|
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/\${ <-- HERE PWD}/ at tests/vg_regtest line 312.
---
tests/vg_regtest.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in
index bfb269f..a441f42 100755
--- a/tests/vg_regtest.in
+++ b/tests/vg_regtest.in
@@ -309,7 +309,7 @@ sub read_vgtest_file($)
next;
} elsif ($line =~ /^\s*vgopts:\s*(.*)$/) {
my $addvgopts = $1;
- $addvgopts =~ s/\${PWD}/$ENV{PWD}/g;
+ $addvgopts =~ s/\$\{PWD\}/$ENV{PWD}/g;
$vgopts = $vgopts . " " . $addvgopts; # Nb: Make sure there's a space!
} elsif ($line =~ /^\s*prog:\s*(.*)$/) {
$prog = validate_program(".", $1, 0, 0);
--
2.5.1
|