diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-29 17:14:01 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-29 17:14:01 +0000 |
commit | c3f5f10bdc21cbd10e18655d20569ce7f8637a0f (patch) | |
tree | 2ecc26552f56cf3f908bb35027b4eaf514cef378 | |
parent | a19f91bf821367829264fc07b29015482653bba1 (diff) | |
download | urpmi-c3f5f10bdc21cbd10e18655d20569ce7f8637a0f.tar urpmi-c3f5f10bdc21cbd10e18655d20569ce7f8637a0f.tar.gz urpmi-c3f5f10bdc21cbd10e18655d20569ce7f8637a0f.tar.bz2 urpmi-c3f5f10bdc21cbd10e18655d20569ce7f8637a0f.tar.xz urpmi-c3f5f10bdc21cbd10e18655d20569ce7f8637a0f.zip |
Nits for the creation of bug rapports
-rwxr-xr-x | urpmi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |