From e36a4b876c65d55445766e0925c09b6007e3826b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 29 Jun 2016 16:47:20 +0100 Subject: [PATCH] Warnings if tlsdate doesn't build --- src/freedombone | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/freedombone b/src/freedombone index fc452d92..9353d311 100755 --- a/src/freedombone +++ b/src/freedombone @@ -1681,7 +1681,15 @@ function set_repo_commit { cd $INSTALL_DIR/tlsdate make clean ./configure + if [ ! "$?" = "0" ]; then + echo $'Failed to configure tlsdate' + exit 727824 + fi make + if [ ! "$?" = "0" ]; then + echo $'Failed to build tlsdate' + exit 728752 + fi make install fi if [[ $repo_dir == *"gpgit" ]]; then