Explorar o código

* Fix bdlib submodule checkout for older git versions

Bryan Drewery %!s(int64=17) %!d(string=hai) anos
pai
achega
5081b06f3e
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  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