If we are using -p it does not make any sense to even create the

MTREENEW file since it will never be used.
This commit is contained in:
dougb 2009-12-31 04:07:13 +00:00
parent e85525874a
commit 69bdfe30f6

View File

@ -686,9 +686,9 @@ case "${RERUN}" in
find -d ${TEMPROOT} -type d -empty -delete 2>/dev/null
# Build the mtree database in a temporary location.
MTREENEW=`mktemp -t mergemaster.mtree`
case "${PRE_WORLD}" in
'') mtree -ci -p ${TEMPROOT} -k size,md5digest > ${MTREENEW} 2>/dev/null
'') MTREENEW=`mktemp -t mergemaster.mtree`
mtree -ci -p ${TEMPROOT} -k size,md5digest > ${MTREENEW} 2>/dev/null
;;
*) # We don't want to mess with the mtree database on a pre-world run or
# when re-scanning a previously-built tree.