aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimage-yaml.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkimage-yaml.sh')
-rwxr-xr-xscripts/mkimage-yaml.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh
index de0161c666..95fb063f2a 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