зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1473276 'which' is non-standard, use 'command -v' in partials r=mtabara
This will start to cause an error when a newer shellcheck is available in CI Differential Revision: https://phabricator.services.mozilla.com/D1940 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
7d88c43095
Коммит
7cc6b92a7a
|
@ -20,7 +20,7 @@ CACHE_THRESHOLD=500000
|
|||
NAMESPACE='releng.releases.partials'
|
||||
if [ -e "${HOME}/.dogrc" ]
|
||||
then
|
||||
METRIC_CMD="$(which dog)"
|
||||
METRIC_CMD="$(command -v dog)"
|
||||
else
|
||||
METRIC_CMD="echo"
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче