From 26766bf9d25397508131386f6db9d727b684a473 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 22 Dec 2016 15:23:50 +0000 Subject: scripts/mkimage: fix generation of checksums we need remove the leading path to file --- scripts/mkimage-yaml.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/mkimage-yaml.sh') diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh index de0161c6662..95fb063f2ae 100755 --- a/scripts/mkimage-yaml.sh +++ b/scripts/mkimage-yaml.sh @@ -66,7 +66,7 @@ EOF # generate checksums if missing for hash in ${checksums}; do if ! [ -f "$image.$hash" ]; then - ${hash}sum $image > $image.$hash + ${hash}sum $image | sed 's: .*/: :' > $image.$hash fi echo " $hash: $(cut -d' ' -f1 $image.$hash)" done -- cgit v1.2.3