devops: make sure cron has necessary PATH
This commit is contained in:
Родитель
4aff4bfca3
Коммит
b64304ecbc
|
@ -23,6 +23,10 @@ if [[ (-z $AZ_ACCOUNT_KEY) || (-z $AZ_ACCOUNT_NAME) ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! which az >/dev/null; then
|
||||
echo "ERROR: az is not found in PATH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BROWSER_NAME=""
|
||||
if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче