Procházet zdrojové kódy

configure: Failure to checkout lib/bdlib should be fatal

Bryan Drewery před 2 roky
rodič
revize
2ba68b3e3f
2 změnil soubory, kde provedl 8 přidání a 8 odebrání
  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