mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Make sure that the /set directive gets put at the top of the file,
instead of in sort order. Slash sorts after period.
This commit is contained in:
parent
d83ed77082
commit
45b2ffd09e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=293399
@ -500,10 +500,9 @@ fixup_before_diskimage ( ) (
|
||||
if [ -n "${NANO_METALOG}" ]; then
|
||||
pprint 2 "Fixing metalog"
|
||||
cp ${NANO_METALOG} ${NANO_METALOG}.pre
|
||||
(echo "/set uname=${NANO_DEF_UNAME} gname=${NANO_DEF_GNAME}" &&
|
||||
cat ${NANO_METALOG}.pre) | \
|
||||
${NANO_TOOLS}/mtree-dedup.awk | \
|
||||
sed -e 's/ size=[0-9][0-9]*//' | sort > ${NANO_METALOG}
|
||||
echo "/set uname=${NANO_DEF_UNAME} gname=${NANO_DEF_GNAME}" > ${NANO_METALOG}
|
||||
cat ${NANO_METALOG}.pre | ${NANO_TOOLS}/mtree-dedup.awk | \
|
||||
sed -e 's/ size=[0-9][0-9]*//' | sort >> ${NANO_METALOG}
|
||||
fi
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user