mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
479 B
Ruby
16 lines
479 B
Ruby
$NetBSD: patch-lib_rdoc_options.rb,v 1.1 2011/03/28 14:10:25 taca Exp $
|
|
|
|
* Ignore none existing files as newer version of rdoc.
|
|
|
|
--- lib/rdoc/options.rb.orig 2008-01-11 01:24:05.000000000 +0000
|
|
+++ lib/rdoc/options.rb
|
|
@@ -573,7 +573,7 @@ class Options
|
|
|
|
def check_files
|
|
@files.each do |f|
|
|
- stat = File.stat f rescue error("File not found: #{f}")
|
|
+ stat = File.stat f rescue next
|
|
error("File '#{f}' not readable") unless stat.readable?
|
|
end
|
|
end
|