mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Fix minimal rebuilds on buildbot.
This commit is contained in:
parent
fb6009bbb0
commit
93b90eba5c
@ -36,9 +36,9 @@ def output_needs_cleaning():
|
|||||||
if not os.path.isdir('OUTPUT'):
|
if not os.path.isdir('OUTPUT'):
|
||||||
return False
|
return False
|
||||||
amb2_dir = os.path.join('OUTPUT', '.ambuild2')
|
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
|
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 True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user