scons fuckery

This commit is contained in:
VerstreuteSeele
2023-01-15 22:35:36 +01:00
parent f375a60555
commit a642bed2fc
4 changed files with 18 additions and 18 deletions
+9 -1
View File
@@ -40,7 +40,15 @@ class GitVersion:
os.environ.get("CUSTOM_FLIPPER_NAME", None)
or ""
)
force_no_dirty = (
os.environ.get("FORCE_NO_DIRTY", None)
or ""
)
if (force_no_dirty != ""):
dirty = False
if (custom_fz_name != "") and (len(custom_fz_name) <= 8) and (custom_fz_name.isalnum()) and (custom_fz_name.isascii()):
return {
"GIT_COMMIT": commit,