diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-04 16:55:03 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-11-04 16:55:03 +0000 |
commit | 5420171b5ad1783ea6cb8df631486938708e2c04 (patch) | |
tree | 1d5f79a1d263e2ea86b8a8ceed051e1adf7c275a /urpm.pm | |
parent | 5ed8cc71bb4a24dcf6b8f0e1ea2b655c1fc24713 (diff) | |
download | urpmi-5420171b5ad1783ea6cb8df631486938708e2c04.tar urpmi-5420171b5ad1783ea6cb8df631486938708e2c04.tar.gz urpmi-5420171b5ad1783ea6cb8df631486938708e2c04.tar.bz2 urpmi-5420171b5ad1783ea6cb8df631486938708e2c04.tar.xz urpmi-5420171b5ad1783ea6cb8df631486938708e2c04.zip |
More system() fixes
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; } |