commit 94ac4b2b0f75fb8e264b6244b48964c73e3bb587
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Feb 27 14:30:55 2015 +0200

    add sphinx find

 findbr | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/findbr b/findbr
index f23f564..26e4a0a 100755
--- a/findbr
+++ b/findbr
@@ -261,6 +261,13 @@ while ( $_ = shift @lines ) {
        }
 
        if (
+               m{^-- Could NOT find Sphinx \(missing:  SPHINX_EXECUTABLE\)}
+       ) {
+               add_br("sphinx-pdg");
+               next;
+       }
+
+       if (
                m{^cannot load such file -- (\S+)} or
                m{in `require': cannot load such file -- (\S+) \(LoadError\)}
        ) {
@@ -325,7 +332,7 @@ while ( $_ = shift @lines ) {
                next;
        }
 
-       if ( m{^Can't locate (.*?\.pm) in \@INC} ) {
+       if ( m{Can't locate (.*?\.pm) in \@INC} ) {
                my $mod = $1;
                warn "Looking for perl module $mod\n";
                poldek_file( "/usr/lib*/perl*/$mod", "/usr/share/perl*/$mod" );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/dafe58a651e56c9c147c9bd2f8e99fad061e0692

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to