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
echo "$0: Reading configuration file .bootstrap"
eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*"
fi
if [ -z "$help" ]; then
git submodule init || exit $?
git submodule update || exit $?
# 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
# Read local configuration file
if [ -r .bootstrap ]; then
echo "$0: Reading configuration file .bootstrap"
eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*"
fi
# 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
# 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
# Create included listings for texinfo docs.
#make -C doc/texinfo -f maint.mk
# 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
fi
......