fix: substitution

This commit is contained in:
Chris Brown 2024-06-29 04:26:34 -04:00
parent d909db419f
commit 63c2bc4c56
1 changed files with 2 additions and 2 deletions

View File

@ -173,9 +173,9 @@ fi
if ! diff {strip_trailing_cr}"$RF1" "$RF2"; then
MSG={fail_msg}
if [[ "${{MSG}}"=="" (
MSG="why? diff {strip_trailing_cr}"${RF1}" "${RF2}" | cat -v"
MSG="why? diff {strip_trailing_cr}"${{RF1}}" "${{RF2}}" | cat -v"
)
echo >&2 "FAIL: files \"{file1}\" and \"{file2}\" differ. ${MSG}"
echo >&2 "FAIL: files \"{file1}\" and \"{file2}\" differ. ${{MSG}}"
exit 1
fi
""".format(