Răsfoiți Sursa

* Fix bdlib submodule checkout for older git versions

Bryan Drewery 17 ani în urmă
părinte
comite
5081b06f3e
2 a modificat fișierele cu 6 adăugiri și 4 ștergeri
  1. 3 2
      autotools/configure.ac
  2. 3 2
      configure

+ 3 - 2
autotools/configure.ac

@@ -205,7 +205,8 @@ echo ""
 echo "------------ Configuring BDLIB ------------"
 [
 if test -d .git; then
-  git submodule update --init
+  git submodule init
+  git submodule update
 fi
 ]
-cd lib/bdlib && ./configure
+test -f lib/bdlib/configure && cd lib/bdlib && ./configure

+ 3 - 2
configure

@@ -14875,7 +14875,8 @@ echo ""
 echo "------------ Configuring BDLIB ------------"
 
 if test -d .git; then
-  git submodule update --init
+  git submodule init
+  git submodule update
 fi
 
-cd lib/bdlib && ./configure
+test -f lib/bdlib/configure && cd lib/bdlib && ./configure