diff --git a/upload_package b/upload_package index 9f57dbe..5a779ff 100755 --- a/upload_package +++ b/upload_package @@ -54,7 +54,7 @@ PAYLOAD_SIZE=$(stat --format='%s' "${UPDATE_PATH}") PAYLOAD_SHA1=$(cat "${UPDATE_PATH}" | openssl dgst -sha1 -binary | base64) PAYLOAD_SHA256=$(cat "${UPDATE_PATH}" | openssl dgst -sha256 -binary | base64) -(cd "${DATA_DIR}" && sha256sum "flatcar_production_update.gz") > "${UPDATE_CHECKSUM_PATH}" +env --chdir "${DATA_DIR}" sha256sum "flatcar_production_update.gz" > "${UPDATE_CHECKSUM_PATH}" EXTRA_FILES=() EXTRA_SUMS=()