From 57e37b6abc188ac48a6ea0a5b679704d38bfb56a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 20 Jul 2010 12:47:34 +0100 Subject: [PATCH] autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early. --- autogen.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autogen.sh b/autogen.sh index a30fd154e2..b6904e67b5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -21,6 +21,10 @@ if test ! -f doc/wiki/Authentication.txt; then cd doc wget http://www.dovecot.org/tmp/wiki2-export.tar.gz tar xzf wiki2-export.tar.gz + if [ $? != 0 ]; then + echo "Failed to uncompress wiki docs" + exit + fi mv wiki2-export/*.txt wiki/ rm -rf wiki2-export wiki2-export.tar.gz cd .. -- 2.47.3