Skip to content

Commit

Permalink
Try running submodule update every time
Browse files Browse the repository at this point in the history
  • Loading branch information
martinburchell committed Nov 10, 2023
1 parent 44cf587 commit cc1d2cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tablet_qt/tools/build_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -3288,10 +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"])
# 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 cc1d2cc

Please sign in to comment.