FreeBSD packaging: normalize version (use . instead of -)

This commit is contained in:
Robur 2022-02-25 10:48:16 +00:00
parent 8e3eafbad1
commit 83daa044d5

View file

@ -37,7 +37,7 @@ install -U $bdir/builder-viz $sbindir/builder-viz
flatsize=$(find "$rootdir" -type f -exec stat -f %z {} + |
awk 'BEGIN {s=0} {s+=$1} END {print s}')
sed -e "s:%%FLATSIZE%%:${flatsize}:" "$pdir/MANIFEST" > "$manifest"
sed -e "s:%%FLATSIZE%%:${flatsize}:" -e "/^[Vv]ersion:/s/-/./g" "$pdir/MANIFEST" > "$manifest"
{
printf '\nfiles {\n'