From 93b90eba5c1c579d16f6f29e4b11a0a686d68ee6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 13 Oct 2023 21:29:07 -0700 Subject: [PATCH] Fix minimal rebuilds on buildbot. --- support/buildbot/bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/buildbot/bootstrap.py b/support/buildbot/bootstrap.py index c5b6d839..ed2396b3 100644 --- a/support/buildbot/bootstrap.py +++ b/support/buildbot/bootstrap.py @@ -36,9 +36,9 @@ def output_needs_cleaning(): if not os.path.isdir('OUTPUT'): return False amb2_dir = os.path.join('OUTPUT', '.ambuild2') - if not os.path.isdir(os.path.join(amb2_dir, 'graph')): + if not os.path.exists(os.path.join(amb2_dir, 'graph')): return True - if not os.path.isdir(os.path.join(amb2_dir, 'vars')): + if not os.path.exists(os.path.join(amb2_dir, 'vars')): return True return False