FreeBSD packaging: normalize version (use . instead of -)
This commit is contained in:
parent
8e3eafbad1
commit
83daa044d5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ install -U $bdir/builder-viz $sbindir/builder-viz
|
||||||
flatsize=$(find "$rootdir" -type f -exec stat -f %z {} + |
|
flatsize=$(find "$rootdir" -type f -exec stat -f %z {} + |
|
||||||
awk 'BEGIN {s=0} {s+=$1} END {print s}')
|
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'
|
printf '\nfiles {\n'
|
||||||
|
|
Loading…
Reference in a new issue