schedule script fix

This commit is contained in:
Vladimir Hodakov 2017-05-24 22:41:14 +04:00
parent b55968df5f
commit 57cb1df4a2

View File

@ -143,7 +143,6 @@ function output_tour_info {
function get_tour_num { function get_tour_num {
if [[ -z $tour_num ]]; then if [[ -z $tour_num ]]; then
[[ $line =~ "Тур №"([0-9]+) ]] && tour_num=${BASH_REMATCH[1]} [[ $line =~ "Тур №"([0-9]+) ]] && tour_num=${BASH_REMATCH[1]}
continue
fi fi
} }
@ -172,7 +171,6 @@ function get_tour_dates {
# Use short dates # Use short dates
date_beg=${date_beg::5} date_end=${date_end::5} date_beg=${date_beg::5} date_end=${date_end::5}
fi fi
continue
fi fi
} }