[opencoe-developer] coe_bootstrap.pl error
Status: Alpha
Brought to you by:
rbroberg
From: caizhiming <cai...@16...> - 2003-09-20 08:55:38
|
I download Open COE 1.1.4.0 from ftp:/rhinohide.cx. But when I used coe_bootstrap.pl to install OpenCOE, I found an errors: The program display the following message: Unsuccessful stat on filename containing newline at /usr/lib/perl5/5.8.0/File/Copy.pm line 92. I browsed the code, the line 14 to line 17 cause the error. For example, line 14 was following statment: copy "/etc/group", "/etc/group.$date"; the $date value was assigned from statement: $date=`date +%Y%m%d%H%M%S`; but the value contained a newline character, so the problem occured. So I added "chomp $date;" before line 14, then the problem solved. I ran the program on Red Hat Linux 9. zeki |