* bootstrap: Use the faster gnulib-tool.py script if possible

This commit is contained in:
Darshit Shah 2018-01-14 11:33:52 +01:00
parent 953bcdaba8
commit b1fc37f465

View File

@ -688,8 +688,11 @@ if $bootstrap_sync; then
}
fi
gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
<$gnulib_tool || exit $?
gnulib_tool=$GNULIB_SRCDIR/gnulib-tool.py
if ! <$gnulib_tool; then
gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
<$gnulib_tool || exit $?
fi
# Get translations.