]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
authorTimo Sirainen <tss@iki.fi>
Tue, 20 Jul 2010 11:47:34 +0000 (12:47 +0100)
committerTimo Sirainen <tss@iki.fi>
Tue, 20 Jul 2010 11:47:34 +0000 (12:47 +0100)
autogen.sh

index a30fd154e2f54fc789c4f756c7fd07fad9af2da6..b6904e67b50d4c78a652f07e1325e85473462861 100755 (executable)
@@ -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 ..