summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_indexes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 564815b9..335dc503 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -324,6 +324,10 @@ def build_page_section(page, section, suite, arch):
def build_page(page, suite=None, arch=None):
+ if suite and not arch:
+ print_critical_message('The architecture was not specified while ' +
+ 'building a suite-specific page.')
+ sys.exit(1)
if not suite: # global page
log.info('Building the ' + page + ' global index page...')
page_sections = global_pages[page]['body']