fix: substitution
This commit is contained in:
parent
d909db419f
commit
63c2bc4c56
|
@ -173,9 +173,9 @@ fi
|
||||||
if ! diff {strip_trailing_cr}"$RF1" "$RF2"; then
|
if ! diff {strip_trailing_cr}"$RF1" "$RF2"; then
|
||||||
MSG={fail_msg}
|
MSG={fail_msg}
|
||||||
if [[ "${{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
|
exit 1
|
||||||
fi
|
fi
|
||||||
""".format(
|
""".format(
|
||||||
|
|
Loading…
Reference in New Issue