Minor fix path handling when considering whether to convert project
We should use the new relative path to the project, instead of the old specified on command line. Change-Id: I54cb1cefd4df079a95c364b7c7c66c36941add01 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
37756ede09
commit
9d893641b9
@ -2527,7 +2527,7 @@ def main() -> None:
|
||||
if new_current_dir:
|
||||
os.chdir(new_current_dir)
|
||||
|
||||
project_file_absolute_path = os.path.abspath(file)
|
||||
project_file_absolute_path = os.path.abspath(file_relative_path)
|
||||
if not should_convert_project(project_file_absolute_path):
|
||||
print('Skipping conversion of project: "{}"'.format(project_file_absolute_path))
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user