freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master dd1ced4ee: [builds] Abbreviate the DLG submodule upda


From: Werner Lemberg
Subject: [freetype2] master dd1ced4ee: [builds] Abbreviate the DLG submodule update.
Date: Tue, 29 Aug 2023 22:29:00 -0400 (EDT)

branch: master
commit dd1ced4ee37b375686a1e0fb6e3a6966b195f4ab
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>

    [builds] Abbreviate the DLG submodule update.
    
    * autogen.sh, builds/toplevel.mk: Revise the command options.
---
 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')



reply via email to

[Prev in Thread] Current Thread [Next in Thread]