зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1af221ed66
Коммит
d8029a3fe7
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче