Skip to content

Commit

Permalink
Fix minimal rebuilds on buildbot.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Oct 14, 2023
1 parent 0436fb0 commit cb1dae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/buildbot/bootstrap.py
Expand Up @@ -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

Expand Down

0 comments on commit cb1dae5

Please sign in to comment.