OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-re Date: 06-Jul-2003 12:28:27 Branch: HEAD Handle: 2003070611282700 Modified files: openpkg-re rpmlint.pl Log: there are programs like 'emacs' which use the old sticky bit on files Summary: Revision Changes Path 1.5 +1 -1 openpkg-re/rpmlint.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/rpmlint.pl ============================================================================ $ cvs diff -u -r1.4 -r1.5 rpmlint.pl --- openpkg-re/rpmlint.pl 6 Jul 2003 10:25:50 -0000 1.4 +++ openpkg-re/rpmlint.pl 6 Jul 2003 10:28:27 -0000 1.5 @@ -307,7 +307,7 @@ &lint_warning($rpm, "strange executable filename \"$path\" containing an extension (expected no extension)"); } my $perm = $info->{ls}->{$path}->{'perm'}; - if ($perm =~ m|^-| && $perm !~ m|^-[-r][-w][sx]([-r][-w][-sx]){2}$|) { + if ($perm =~ m|^-| && $perm !~ m|^-[-r][-w][sx][-r][-w][-sx][-r][-w][-tx]$|) { &lint_error($rpm, "non-executable file \"$path\" under topdir \"$topdir\" (expected to be executable)"); } } @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]