On 11/23/2009 03:35 PM Pascal Volk wrote: > Or try the attached Patch. Sorry, the last patch breaks wget. wget uses -o or nothing, not -O.
-- The trapper recommends today: beeffeed.0932...@localdomain.org
diff -r fa8a438c64ce autogen.sh --- a/autogen.sh Fri Nov 20 13:52:25 2009 -0500 +++ b/autogen.sh Mon Nov 23 15:01:34 2009 +0000 @@ -18,7 +18,17 @@ if test ! -f doc/wiki/Authentication.txt; then cd doc - wget http://www.dovecot.org/tmp/wiki-export.tar.gz + for _cmd in wget curl; do + $_cmd --version >/dev/null 2>&1 + if [ $? -eq 0 ]; then + break + fi + done + if [ ${_cmd} = "wget" ]; then + $_cmd http://www.dovecot.org/tmp/wiki-export.tar.gz + else + $_cmd -O http://www.dovecot.org/tmp/wiki-export.tar.gz + fi tar xzf wiki-export.tar.gz mv wiki-export/*.txt wiki/ rm -rf wiki-export wiki-export.tar.gz