summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
}