summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-29 17:14:01 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-03-29 17:14:01 +0000
commitc3f5f10bdc21cbd10e18655d20569ce7f8637a0f (patch)
tree2ecc26552f56cf3f908bb35027b4eaf514cef378
parenta19f91bf821367829264fc07b29015482653bba1 (diff)
downloadurpmi-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-xurpmi4
1 files 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) {