From c3f5f10bdc21cbd10e18655d20569ce7f8637a0f Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 29 Mar 2005 17:14:01 +0000 Subject: Nits for the creation of bug rapports --- urpmi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urpmi b/urpmi index b9741cda..aea8774f 100755 --- a/urpmi +++ b/urpmi @@ -188,7 +188,7 @@ if ($bug) { ? N("Directory [%s] already exists, please use another directory for bug report or delete it", $bug) : N("Unable to create directory [%s] for bug report", $bug))); #- copy all synthesis file used, along with configuration of urpmi - system("cp", "-af", $urpm->{skiplist}, $urpm->{instlist}, $bug) + system("cp", "-af", $urpm->{skiplist}, $urpm->{instlist}, $urpm->{config}, $bug) and die N("Copying failed"); #- allow log file. $log = "$bug/urpmi.log"; @@ -304,7 +304,7 @@ if ($bug) { } } #- fake configuration written to convert virtual media on the fly. - $urpm->{config} = "$bug/urpmi.cfg"; + local $urpm->{config} = "$bug/urpmi.cfg"; $urpm->write_config; #- handle local packages, copy them directly in bug environment. foreach (keys %requested) { -- cgit v1.2.1