build(macos): quote SHOULD_SIGN env expansion in install script (#5185)

This commit is contained in:
Jason Lu
2026-05-25 07:53:48 -07:00
committed by GitHub
parent b91ace723d
commit d7e88da0e5

View File

@@ -60,7 +60,7 @@ else()
endif() endif()
# SHOULD_SIGN is set only when publish_release is true or when manually building # SHOULD_SIGN is set only when publish_release is true or when manually building
if(\$ENV{SHOULD_SIGN} STREQUAL \"true\") if(\"\$ENV{SHOULD_SIGN}\" STREQUAL \"true\")
# Sign anything inside Contents/Frameworks # Sign anything inside Contents/Frameworks
set(_fw_dir \"\${_app}/Contents/Frameworks\") set(_fw_dir \"\${_app}/Contents/Frameworks\")
if(EXISTS \"\${_fw_dir}\") if(EXISTS \"\${_fw_dir}\")