fix error in 'rm' path instructions to force restaging

This commit is contained in:
Amy Unruh 2015-08-26 08:10:51 -07:00
parent 1a8b400c3e
commit 5b6c5823da

View File

@ -176,7 +176,7 @@ function copy-if-not-staged() {
local -r hash=$4
if already-staged "${tar}" "${hash}"; then
echo "+++ $(basename ${tar}) already staged ('rm ${tar}.sha1' to force)"
echo "+++ $(basename ${tar}) already staged ('rm ${tar}.uploaded.sha1' to force)"
else
echo "${hash}" > "${tar}.sha1"
gsutil -m -q -h "Cache-Control:private, max-age=0" cp "${tar}" "${tar}.sha1" "${staging_path}"