aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimage.sh
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-12-22 15:23:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-12-22 15:50:03 +0000
commit26766bf9d25397508131386f6db9d727b684a473 (patch)
treed69fd305830cd5551b3f118bd2b33422bf57c235 /scripts/mkimage.sh
parent752bd10135e430259e3fe9bf11e69822210b3fcb (diff)
downloadaports-26766bf9d25397508131386f6db9d727b684a473.tar.bz2
aports-26766bf9d25397508131386f6db9d727b684a473.tar.xz
scripts/mkimage: fix generation of checksums
we need remove the leading path to file
Diffstat (limited to 'scripts/mkimage.sh')
-rwxr-xr-xscripts/mkimage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimage.sh b/scripts/mkimage.sh
index 023669d3a4..4f5aaac86a 100755
--- a/scripts/mkimage.sh
+++ b/scripts/mkimage.sh
@@ -177,7 +177,7 @@ build_profile() {
if [ "$_checksum" = "yes" ]; then
for _c in $all_checksums; do
- ${_c}sum "$output_file" > "${output_file}.${_c}"
+ echo "$(${_c}sum "$output_file" | cut -d' ' -f1) ${output_filename}" > "${output_file}.${_c}"
done
fi