Sfoglia il codice sorgente

configure: Failure to checkout lib/bdlib should be fatal

Bryan Drewery 2 anni fa
parent
commit
2ba68b3e3f
2 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 4 4
      build/autotools/configure.ac
  2. 4 4
      configure

+ 4 - 4
build/autotools/configure.ac

@@ -273,12 +273,12 @@ fi
 
 [
 if test -d .git; then
-  git submodule init
-  git submodule update
-  git submodule foreach --recursive git clean -fdx
+  git submodule init || exit 1
+  git submodule update || exit 1
+  git submodule foreach --recursive git clean -fdx || exit 1
   # Restore as it may have been removed by an older 'make distclean'
   if ! test -f src/response.h; then
-    git checkout src/response.h
+    git checkout src/response.h || exit 1
   fi
 fi
 ]

+ 4 - 4
configure

@@ -9329,12 +9329,12 @@ fi
 
 
 if test -d .git; then
-  git submodule init
-  git submodule update
-  git submodule foreach --recursive git clean -fdx
+  git submodule init || exit 1
+  git submodule update || exit 1
+  git submodule foreach --recursive git clean -fdx || exit 1
   # Restore as it may have been removed by an older 'make distclean'
   if ! test -f src/response.h; then
-    git checkout src/response.h
+    git checkout src/response.h || exit 1
   fi
 fi