ci: Fix shellcheck warnings for prepare.sh

Shellcheck suggests use of doube quotes to prevent
word splitting, hence adding the same.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-10-27 17:01:36 +05:30 committed by mergify[bot]
parent aa7d9de45a
commit 86b80a23a5

View File

@ -87,7 +87,7 @@ then
depth='' depth=''
fi fi
git clone ${depth} --branch="${base}" "${gitrepo}" "${workdir}" git clone "${depth}" --branch="${base}" "${gitrepo}" "${workdir}"
cd "${workdir}" cd "${workdir}"
git fetch origin "${ref}:tip/${ref}" git fetch origin "${ref}:tip/${ref}"
git checkout "tip/${ref}" git checkout "tip/${ref}"