瀏覽代碼

Warnings if tlsdate doesn't build

Bob Mottram 8 年之前
父節點
當前提交
e36a4b876c
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. 8
    0
      src/freedombone

+ 8
- 0
src/freedombone 查看文件

@@ -1681,7 +1681,15 @@ function set_repo_commit {
1681 1681
 					cd $INSTALL_DIR/tlsdate
1682 1682
 					make clean
1683 1683
 					./configure
1684
+					if [ ! "$?" = "0" ]; then
1685
+						echo $'Failed to configure tlsdate'
1686
+						exit 727824
1687
+					fi
1684 1688
 					make
1689
+					if [ ! "$?" = "0" ]; then
1690
+						echo $'Failed to build tlsdate'
1691
+						exit 728752
1692
+					fi
1685 1693
 					make install
1686 1694
 				fi
1687 1695
 				if [[ $repo_dir == *"gpgit" ]]; then