From 8efb1a993e3443a601b1cdf50689ac758b6d9932 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Tue, 29 Aug 2023 18:06:13 +0000 Subject: [PATCH] [builds] Revise DLG update. --- autogen.sh | 3 +-- builds/toplevel.mk | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index ff5e46f0d..649c644a4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -190,8 +190,7 @@ if test -e ".git"; then : else echo "Checking out submodule in \`subprojects/dlg':" - git submodule init - git submodule update + git submodule update --init fi copy_submodule_files diff --git a/builds/toplevel.mk b/builds/toplevel.mk index 8d5063ebb..ce7cc9c7f 100644 --- a/builds/toplevel.mk +++ b/builds/toplevel.mk @@ -170,8 +170,7 @@ endif # test check_platform check_out_submodule: $(info Checking out submodule in `subprojects/dlg') - git --git-dir=$(TOP_DIR) submodule init - git --git-dir=$(TOP_DIR) submodule update + git -C $(TOP_DIR) submodule update --init copy_submodule: $(info Copying files from `subprojects/dlg' to `src/dlg' and `include/dlg')