diff options
author | Adin Scannell <ascannell@google.com> | 2020-07-30 09:53:52 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-30 09:59:03 -0700 |
commit | 61b3e05f404a06995cb5da6187958f38af864ff6 (patch) | |
tree | b3b14f9983f7c8df123c9cd89ff0f080829ea0e9 /tools | |
parent | 0d7c87ad014aa8eb931a5dcb970d736ce00d4b32 (diff) |
Drop complex awk step.
PiperOrigin-RevId: 324023425
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make_release.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/make_release.sh b/tools/make_release.sh index b1cdd47b0..9137dd9bb 100755 --- a/tools/make_release.sh +++ b/tools/make_release.sh @@ -43,8 +43,7 @@ install_raw() { # Copy the raw file & generate a sha512sum. name=$(basename "${binary}") cp -f "${binary}" "${root}/$1" - sha512sum "${root}/$1/${name}" | \ - awk "{print $$1 \" ${name}\"}" > "${root}/$1/${name}.sha512" + (cd "${root}/$1" && sha512sum "${name}" > "${name}.sha512") done } |