From: Timo Sirainen Date: Tue, 20 Jul 2010 11:47:34 +0000 (+0100) Subject: autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early. X-Git-Tag: 2.0.rc3~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57e37b6abc188ac48a6ea0a5b679704d38bfb56a;p=thirdparty%2Fdovecot%2Fcore.git autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early. --- 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 ..