Bug 1643661 Fix shell quoting with hg commands r=mtabara

shellcheck will moan about this, as it's potentially unsafe

Differential Revision: https://phabricator.services.mozilla.com/D78486
This commit is contained in:
Simon Fraser 2020-06-05 12:06:21 +00:00
Родитель 1af221ed66
Коммит d8029a3fe7
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -406,8 +406,8 @@ function clone_repo {
${HG} robustcheckout --sharebase /tmp/hg-store -b default "${HGREPO}" "${REPODIR}"
fi
${HG} -R ${REPODIR} pull
${HG} -R ${REPODIR} update -C default
${HG} -R "${REPODIR}" pull
${HG} -R "${REPODIR}" update -C default
}
# Copies new HSTS files in place, and commits them.

Просмотреть файл

@ -30,8 +30,8 @@ function clone_repo {
${CLONE_CMD}
fi
${HG} -R ${REPODIR} pull
${HG} -R ${REPODIR} update -C default
${HG} -R "${REPODIR}" pull
${HG} -R "${REPODIR}" update -C default
}
# Push all pending commits to Phabricator