- Update wording/style on REINPLACE_CMD checks

This commit is contained in:
Ryan Steinmetz
2020-08-03 13:46:11 +00:00
parent c084561de1
commit 178b0490c2
2 changed files with 2 additions and 2 deletions

View File

@@ -1007,7 +1007,7 @@ pkgmessage()
reinplace()
{
if [ -f ${REWARNFILE} ]; then
warn "Possible REINPLACE_CMD issues"
warn "Possible REINPLACE_CMD issues:"
cat ${REWARNFILE}
fi
}

View File

@@ -6,7 +6,7 @@ for x in "${@}" ; do
if [ -f "${x}" ]; then
if cmp -s "${x}" "${x}".bak ; then
if [ ! -z "${REWARNFILE}" ]; then
echo sed failed: file content unchanged from backup: ${x#${WRKSRC}/} >> ${REWARNFILE}
echo - - REINPLACE_CMD ran, but did not modify file contents: ${x#${WRKSRC}/} >> ${REWARNFILE}
fi
fi
fi