Commit 183ada2b 183ada2bf59176462c97a5026407fc4273a2c251 by Sergey Poznyakoff

Minor fix

* bootstrap.conf: Don't try to download anything if --help is given
1 parent e13501a1
......@@ -84,27 +84,38 @@ excluded_files='
m4/visibility.m4
'
git submodule init || exit $?
git submodule update || exit $?
help=
for option
do
case $option in
--help)
help=1;;
esac
done
# Read local configuration file
if [ -r .bootstrap ]; then
if [ -z "$help" ]; then
git submodule init || exit $?
git submodule update || exit $?
# Read local configuration file
if [ -r .bootstrap ]; then
echo "$0: Reading configuration file .bootstrap"
eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*"
fi
fi
# Recreate missing maildir parts
for mbox in testsuite/maildir/*
do
# Recreate missing maildir parts
for mbox in testsuite/maildir/*
do
test -d $mbox/new || mkdir $mbox/new
test -d $mbox/cur || mkdir $mbox/cur
test -d $mbox/tmp || mkdir $mbox/tmp
done
done
# Grab the latest radius.m4
test -f m4/radius.m4 ||
# Grab the latest radius.m4
test -f m4/radius.m4 ||
wget -P m4 http://git.savannah.gnu.org/cgit/radius.git/plain/scripts/radius.m4
# Create included listings for texinfo docs.
#make -C doc/texinfo -f maint.mk
# Create included listings for texinfo docs.
#make -C doc/texinfo -f maint.mk
fi
......