Le Mercredi 24 Avril 2002 19:12, Charles A Edwards a �crit :
[..]
> [root@localhost charles]# rpmproc --help
> Bareword found where operator expected at /usr/bin/rpmproc line 53, near
> "my $DATE     = "Mon" (Might be a runaway multi-line "" string starting on
> line 52)
>       (Do you need to predeclare my?)
> Number found where operator expected at /usr/bin/rpmproc line 53, near "22
> 2002" (Missing operator before  2002?) String found where operator expected
> at /usr/bin/rpmproc line 54, near "my $MAIN_CONF = "" (Might be a runaway
> multi-line "" string starting on line 53)
>       (Missing semicolon on previous line?)
> String found where operator expected at /usr/bin/rpmproc line 55, near "my
> $HOME_CONF = $ENV{HOME} . "" (Might be a runaway multi-line "" string
> starting on line 54)
>       (Missing semicolon on previous line?)
> Global symbol "$DATE" requires explicit package name at /usr/bin/rpmproc
> line 52. syntax error at /usr/bin/rpmproc line 53, near "my $DATE     =
> "Mon Apr " Global symbol "$MAIN_CONF" requires explicit package name at
> /usr/bin/rpmproc line 53. Global symbol "$HOME_CONF" requires explicit
> package name at /usr/bin/rpmproc line 54. Execution of /usr/bin/rpmproc
> aborted due to compilation errors.
I'm sorry, this is a stupid syntax error introduced when i updated version 
number :-(
Next release it on its way, and you can use this patch in the mean time.

diff -a -u -r1.19 rpmproc
--- rpmproc     22 Apr 2002 09:04:01 -0000      1.19
+++ rpmproc     24 Apr 2002 17:21:31 -0000
@@ -49,7 +49,7 @@
 use Getopt::Long;
 
 # Global Variables
-my $VERSION  = "2.1.2;
+my $VERSION  = "2.1.2";
 my $DATE     = "Mon Apr 22 2002";
 my $MAIN_CONF = "/etc/rpmproc.conf";
 my $HOME_CONF = $ENV{HOME} . "/.rpmprocrc";
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to