Пауза перед генерированием нового варианта

This commit is contained in:
Andrei Astafev 2019-02-19 11:25:25 +03:00
parent 565f79f5ba
commit 1ff29c5c87

View File

@ -199,11 +199,11 @@ fi
if [ -x "$(command -v parallel)" ]; then
PV=$(parallel --version | head -n 1 | awk '{ print $3; }')
if [ "$PV" -lt "20131121" ]; then
parallel -r generate_configuration ::: "${BUILD_TYPES[@]}"
parallel --delay 2 -r generate_configuration ::: "${BUILD_TYPES[@]}"
elif [ "$PV" -lt "20141023" ]; then
parallel -r --no-notice generate_configuration ::: "${BUILD_TYPES[@]}"
parallel --delay 2 -r --no-notice generate_configuration ::: "${BUILD_TYPES[@]}"
else
parallel -r --will-cite generate_configuration ::: "${BUILD_TYPES[@]}"
parallel --delay 2 -r --will-cite generate_configuration ::: "${BUILD_TYPES[@]}"
fi
else
for T in "${BUILD_TYPES[@]}"; do generate_configuration "${T}"; done