From 63c2bc4c560ed1929e7e0a5fae23a1598bcc14cc Mon Sep 17 00:00:00 2001 From: Chris Brown <77508021+peakschris@users.noreply.github.com> Date: Sat, 29 Jun 2024 04:26:34 -0400 Subject: [PATCH] fix: substitution --- rules/diff_test.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/diff_test.bzl b/rules/diff_test.bzl index 72b98077..453f9558 100644 --- a/rules/diff_test.bzl +++ b/rules/diff_test.bzl @@ -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(