summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-07-30 09:53:52 -0700
committergVisor bot <gvisor-bot@google.com>2020-07-30 09:59:03 -0700
commit61b3e05f404a06995cb5da6187958f38af864ff6 (patch)
treeb3b14f9983f7c8df123c9cd89ff0f080829ea0e9 /tools
parent0d7c87ad014aa8eb931a5dcb970d736ce00d4b32 (diff)
Drop complex awk step.
PiperOrigin-RevId: 324023425
Diffstat (limited to 'tools')
-rwxr-xr-xtools/make_release.sh3
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
}