[builds] Abbreviate the DLG submodule update.

* autogen.sh, builds/toplevel.mk: Revise the command options.
This commit is contained in:
Alexei Podtelezhnikov 2023-08-30 02:28:48 +00:00
parent 2f7abe4838
commit dd1ced4ee3
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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')