🔨 Minor build script changes

This commit is contained in:
Scott Lahteine
2022-07-21 04:18:17 -05:00
parent c9445cfc41
commit 6e02f15dd6
4 changed files with 15 additions and 14 deletions

View File

@ -40,7 +40,10 @@ def run_preprocessor(env, fn=None):
depcmd = cmd + [ filename ]
cmd = ' '.join(depcmd)
blab(cmd)
define_list = subprocess.check_output(cmd, shell=True).splitlines()
try:
define_list = subprocess.check_output(cmd, shell=True).splitlines()
except:
define_list = {}
preprocessor_cache[filename] = define_list
return define_list