tools/make_release.sh: don't overwrite global variables.

PiperOrigin-RevId: 433105561
This commit is contained in:
Andrei Vagin 2022-03-07 20:00:47 -08:00 committed by gVisor bot
parent 3d52015286
commit 9851f1f320
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ done
# install_raw installs raw artifacts.
install_raw() {
for binary in "${binaries[@]}"; do
local arch name
# Copy the raw file & generate a sha512sum, sorted by architecture.
arch=$(file "${binary}" | cut -d',' -f2 | awk '{print $NF}' | tr '-' '_')
name=$(basename "${binary}")