This commit is contained in:
Hannes Mehnert 2018-10-31 23:20:44 +01:00
parent 7c34c61d43
commit 65d31ba565

View file

@ -44,9 +44,9 @@ sed -e "s:%%GITVER%%:${gitver}:" -e "s:%%FLATSIZE%%:${flatsize}:" \
{
printf '\nfiles {\n'
find "$rootdir" -type f -exec sha256 -r {} + |
find "$rootdir" -type f -exec sha256 -r {} + | sort |
awk '{print " " $2 ": \"" $1 "\"," }'
find "$rootdir" -type l |
find "$rootdir" -type l | sort |
awk "{print \" \"\$1 \": -,\"}"
printf '}\n'
} | sed -e "s:${rootdir}::" >> "$manifest"