Robustify merge-gnulib a bit
* admin/merge-gnulib: Fail if autogen.sh fails. Remove autom4te.cache before running gnulib-tool.
This commit is contained in:
parent
ca3858563c
commit
9372e543a9
1 changed files with 4 additions and 1 deletions
|
@ -103,7 +103,10 @@ test -x "$gnulib_srcdir"/gnulib-tool || {
|
|||
}
|
||||
|
||||
# gnulib-tool has problems with a bare checkout (Bug#32452#65).
|
||||
test -f configure || ./autogen.sh
|
||||
test -f configure || ./autogen.sh || exit
|
||||
|
||||
# Old caches can confuse autoconf when some Gnulib-related changes take effect.
|
||||
rm -fr autom4te.cache || exit
|
||||
|
||||
avoided_flags=
|
||||
for module in $AVOIDED_MODULES; do
|
||||
|
|
Loading…
Add table
Reference in a new issue