[projects/cleanbuild] update docbook-style-xsl; generic exec finder
glen
glen at pld-linux.org
Wed Dec 14 21:43:25 CET 2016
commit e7ee7564b35f81f9b4bd377e024be3c035297bf0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 2 18:53:15 2016 +0300
update docbook-style-xsl; generic exec finder
findbr | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/findbr b/findbr
index 352e9fc..2d0b94b 100755
--- a/findbr
+++ b/findbr
@@ -456,6 +456,9 @@ while ( $_ = shift @lines ) {
warn "Looking for docbook file $db\n";
poldek_file( "/usr/share/sgml/*/$db" );
}
+ if (m{Could not find HTML docbook.xsl}) {
+ add_br("docbook-style-xsl");
+ }
if ( m{LaTeX Error: File `(\S+)' not found} ) {
my $tex = $1;
@@ -665,6 +668,14 @@ while ( $_ = shift @lines ) {
poldek_file( "/usr/bin/$exec", "/bin/$exec" );
}
}
+
+
+ if (
+ m{Could not find (\S+)}
+ ) {
+ my $exec = $1;
+ poldek_file("/usr/bin/$exec", "/bin/$exec" );
+ }
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/fa52338579696dcbb04b116a6f27b86977d46f51
More information about the pld-cvs-commit
mailing list