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:
Christian Berendt 2013-08-14 10:02:54 +02:00
parent c298f0374a
commit 7b6f211412
1 changed files with 1 additions and 1 deletions

View File

@ -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: