Fix more script typos

This commit is contained in:
Radon Rosborough 2020-12-30 11:43:28 -08:00
parent d2df4916dc
commit eaf9365074
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ export async function hashCompositeImage(mode) {
}
return (
await runCommand(
`skopeo inspect docker://raxod502/riju:composite | jq -r '.Labels["riju-composite-hash"]'`,
`skopeo inspect docker://\${DOCKER_REPO}:composite | jq -r '.Labels["riju-composite-hash"]'`,
{ getStdout: true }
)
).stdout.trim();

View File

@ -71,7 +71,7 @@ for lang in "${langs[@]}"; do
pkg="riju-${type}-${lang}"
hash="${local_hashes["${pkg}"]}"
published_hash="${published_hashes["${pkg}"]:-}"
if [[ "${published_hash}" != "${hash}" ]]; then
if [[ "${published_hash}" == "${hash}" ]]; then
make download L="${lang}" T="${type}"
fi
done