summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-09-12 11:50:33 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-09-12 11:50:33 +0000
commitc37a8be3332c791f13d250a33b4dd88c5a534600 (patch)
tree96ad24eb6db79a47786314ac53b91991fde8b623
parent795bd456037ea5819dd4cbb8aa9c730810594362 (diff)
downloaddrakx-c37a8be3332c791f13d250a33b4dd88c5a534600.tar
drakx-c37a8be3332c791f13d250a33b4dd88c5a534600.tar.gz
drakx-c37a8be3332c791f13d250a33b4dd88c5a534600.tar.bz2
drakx-c37a8be3332c791f13d250a33b4dd88c5a534600.tar.xz
drakx-c37a8be3332c791f13d250a33b4dd88c5a534600.zip
use perl syntax, not sed one
-rw-r--r--perl-install/standalone.pm2
1 files changed, 1 insertions, 1 deletions
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;