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
parent 1af221ed66
commit d8029a3fe7
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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