Skip to content

Commit

Permalink
Don't bork builds for no reason *smile*
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtmann authored and 0cyn committed Jan 13, 2024
1 parent 080d62d commit 00f60d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dragongen/theos.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,9 @@ def __init__(self, file_contents: str):
self.module['targetvers'] = ver

if variable == 'SYSROOT':
self.module['sysroot'] = self.variables[variable]
sysroot = self.variables[variable]
if os.path.exists(sysroot):
self.module['sysroot'] = sysroot

files = []
if 'files' in self.module:
Expand Down

0 comments on commit 00f60d7

Please sign in to comment.