configurejson2cmake: Follow up fix to a regression

UnboundLocalError: local variable
 'skip_special_case_preservation' referenced before assignment

Change-Id: Ic7419e0bdd04a4251182d1a2616cd57e89e62432
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2020-11-10 15:16:18 +01:00
parent 30ba185583
commit ba0895cf69

View File

@ -1562,6 +1562,7 @@ def main():
print("This scripts needs one directory to process!")
quit(1)
skip_special_case_preservation = False
if len(sys.argv) > 2 and sys.argv[2] == '-s':
skip_special_case_preservation = True