diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-12-22 15:23:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-12-22 15:50:03 +0000 |
commit | 26766bf9d25397508131386f6db9d727b684a473 (patch) | |
tree | d69fd305830cd5551b3f118bd2b33422bf57c235 /scripts/mkimage-yaml.sh | |
parent | 752bd10135e430259e3fe9bf11e69822210b3fcb (diff) | |
download | aports-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-yaml.sh')
-rwxr-xr-x | scripts/mkimage-yaml.sh | 2 |
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 |