summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 22b12088..d93b90d8 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2178,7 +2178,7 @@ sub resolve_dependencies {
unlink $file;
foreach (@{$urpm->{media}}) {
defined $_->{start} && defined $_->{end} or next;
- system "cat '$urpm->{statedir}/synthesis.$_->{hdlist}' >> $file";
+ system "cat '$urpm->{statedir}/synthesis.$_->{hdlist}' >> '$file'";
}
#- let each node determine what is requested, according to handler given.
$urpm->{parallel_handler}->parallel_resolve_dependencies($file, @_);
@@ -2335,7 +2335,7 @@ sub get_source_packages {
#- clean download directory, do it here even if this is not the best moment.
if ($options{clean_all}) {
- system("rm", "-rf", "$urpm->{cachedir}/partial");
+ MDK::Common::rm_rf("$urpm->{cachedir}/partial");
mkdir "$urpm->{cachedir}/partial";
}