瀏覽代碼

configure: Failure to checkout lib/bdlib should be fatal

Conflicts:
	configure
Bryan Drewery 2 年之前
父節點
當前提交
9cee0b2835
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 4 4
      build/autotools/configure.ac
  2. 4 4
      configure

+ 4 - 4
build/autotools/configure.ac

@@ -272,12 +272,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

@@ -9865,12 +9865,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