From c37a8be3332c791f13d250a33b4dd88c5a534600 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Wed, 12 Sep 2012 11:50:33 +0000 Subject: use perl syntax, not sed one --- perl-install/standalone.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index b138d62f7..01d56b30e 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -203,7 +203,7 @@ sub bug_handler { # we want the full backtrace: if ($is_signal) { my $ctrace = c::C_backtrace(); - $ctrace =~ s/0:.*(\d+:[^:]*Perl_sighandler)/\1/sig if $ctrace =~ /0:.*(\d+:[^:]*Perl_sighandler)/sig; + $ctrace =~ s/0:.*(\d+:[^:]*Perl_sighandler)/$1/sig if $ctrace =~ /0:.*(\d+:[^:]*Perl_sighandler)/sig; $error .= "\nGlibc's trace:\n$ctrace\n"; } $error .= "Perl's trace:\n" . common::backtrace() if $error; -- cgit v1.2.1