OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-tools Date: 24-Sep-2004 11:10:28 Branch: HEAD Handle: 2004092410102800 Modified files: openpkg-tools/cmd lint-spec.pl Log: allow me to produce a package for the R statistics environment Summary: Revision Changes Path 1.4 +3 -3 openpkg-tools/cmd/lint-spec.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-tools/cmd/lint-spec.pl ============================================================================ $ cvs diff -u -r1.3 -r1.4 lint-spec.pl --- openpkg-tools/cmd/lint-spec.pl 18 Apr 2004 10:30:55 -0000 1.3 +++ openpkg-tools/cmd/lint-spec.pl 24 Sep 2004 09:10:28 -0000 1.4 @@ -302,11 +302,11 @@ sub check_license { my ($file, $spec) = @_; - my $name = "[a-z][a-z0-9-]+"; - if ($file =~ m|^.*/([a-z][a-z0-9-]+)\.spec$|) { + my $name = "[a-z][a-z0-9-]*"; + if ($file =~ m|^.*/([a-z][a-z0-9-]*)\.spec$|) { $name = $1; } - elsif ($file =~ m|^([a-z][a-z0-9-]+)\.spec$|) { + elsif ($file =~ m|^([a-z][a-z0-9-]*)\.spec$|) { $name = $1; } my $re = ""; @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]