From 5420171b5ad1783ea6cb8df631486938708e2c04 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 4 Nov 2004 16:55:03 +0000 Subject: More system() fixes --- urpm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpm.pm') 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"; } -- cgit v1.2.1