Skip to content

Commit

Permalink
Try running git submodule update for when the commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martinburchell committed Nov 10, 2023
1 parent 1c5aa12 commit 44cf587
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tablet_qt/tools/build_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3288,6 +3288,10 @@ def checkout_qt(cfg: Config) -> None:
if not already_checked_out(cfg):
chdir(cfg.qt_src_gitdir)
run([GIT, "checkout", cfg.qt_git_commit])
# Necessary if we are moving to a new commit. The init-respository perl
# script should do this but will fail if there are local changes. Our
# local changes check will fail too.
run([GIT, "submodule", "update", "--init", "--recursive"])
init_repository(cfg)
deinit_unused_submodules(cfg)

Expand Down

0 comments on commit 44cf587

Please sign in to comment.