build every book only once
At the moment a wrong check makes it possible that affected books are build several times. That's not useful and should be changed. Change-Id: I27c016c6d4ef98fead53609013c46302fa8b67d2
This commit is contained in:
parent
c298f0374a
commit
7b6f211412
|
@ -229,7 +229,7 @@ def build_affected_books(rootdir, book_exceptions, file_exceptions):
|
|||
os.path.abspath(href) in modified_files):
|
||||
affected_books.append(root)
|
||||
break
|
||||
if os.path.basename(root) in affected_books:
|
||||
if root in affected_books:
|
||||
break
|
||||
|
||||
if affected_books:
|
||||
|
|
Loading…
Reference in New Issue