Parcourir la source

Clean submodules when building

Bryan Drewery il y a 11 ans
Parent
commit
ba96bea67c
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      build/autotools/configure.ac
  2. 1 0
      configure

+ 1 - 0
build/autotools/configure.ac

@@ -249,6 +249,7 @@ fi
 if test -d .git; then
 if test -d .git; then
   git submodule init
   git submodule init
   git submodule update
   git submodule update
+  git submodule foreach --recursive git clean -fdx
 fi
 fi
 ]
 ]
 
 

+ 1 - 0
configure

@@ -10084,6 +10084,7 @@ fi
 if test -d .git; then
 if test -d .git; then
   git submodule init
   git submodule init
   git submodule update
   git submodule update
+  git submodule foreach --recursive git clean -fdx
 fi
 fi