dovecot-2.0: autogen.sh: If wiki docs can't be downloaded/uncomp...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jul 20 14:47:40 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/598b1334fbba
changeset: 11863:598b1334fbba
user: Timo Sirainen <tss at iki.fi>
date: Tue Jul 20 12:47:34 2010 +0100
description:
autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
diffstat:
autogen.sh | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 8da0bbb53e7d -r 598b1334fbba autogen.sh
--- a/autogen.sh Mon Jul 19 19:31:00 2010 +0100
+++ b/autogen.sh Tue Jul 20 12:47:34 2010 +0100
@@ -21,6 +21,10 @@
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 ..
More information about the dovecot-cvs
mailing list