schedule script fix
This commit is contained in:
parent
b55968df5f
commit
57cb1df4a2
2
schedule
2
schedule
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user