mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Drop complex awk step.
PiperOrigin-RevId: 324023425
This commit is contained in:
committed by
gVisor bot
parent
0d7c87ad01
commit
61b3e05f40
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user