summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakbug
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-15 14:43:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-15 14:43:47 +0000
commit864c2f00105057f694d84af17a4ec21ede85aee0 (patch)
tree97c8f3607cfc5160b71e9a175780661609242b8c /perl-install/standalone/drakbug
parent7665d971b7b052d0059256a0247cedd7b7e84c22 (diff)
downloaddrakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar
drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar.gz
drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar.bz2
drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar.xz
drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.zip
(report_bug_to_bugzilla) prefill the platform field
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-xperl-install/standalone/drakbug3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug
index c3b1ef7ac..5b32631c2 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -238,11 +238,14 @@ sub report_bug_to_bugzilla() {
}
my $rel_data = mandrake_release_info();
my $rel = standalone::real_version();
+ my $arch = arch();
+ $arch = 'i586' if arch =~ /^i.86/;
my $options = join('&',
($product || $version ? 'cf_rpmpkg=' . join('-', $product, $version) : ()),
'version=' . ($rel_data->{branch} eq 'Devel' ? 'Cooker' : $rel_data->{version}),
'component=Core%20Packages',
'classification=Mandriva%20Linux',
+ "rep_platform=$arch",
if_($incident,
"short_desc=$prog%20" . ($segfaulted ? 'segfaulted' : 'crashed'),
'comment=' . uri_escape(qq(The "$prog" program crashed. Drakbug-$rel caught it.