From 4710960f1314ec790ea876f0e50250cac59e089c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 19 Sep 1999 14:49:36 +0000 Subject: no_comment --- perl-install/install_any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index d0b6c2fa9..86da03058 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -38,7 +38,7 @@ sub getFile($) { *install_any::getFile = \&ftp::getFile; } else { *install_any::getFile = sub($) { - open getFile, "/tmp/rhimage/" . relGetFile($_[0]) or sleep(1000), return; + open getFile, "/tmp/rhimage/" . relGetFile($_[0]) or return; \*getFile; }; } @@ -148,7 +148,7 @@ sub install_cpio { my $cpio = "$dir.cpio.bz2"; -e $cpio or return; - eval { commands::rm "-r", $dir }; + eval { commands::rm("-r", $dir) }; mkdir $dir, 0755; run_program::run("cd $dir ; bzip2 -cd $cpio | cpio -id $name $name/*"); "$dir/$name"; -- cgit v1.2.1