You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed "s|VARIANT-INJECT|${variant_line}|""$plan_tpl"| tr -d '\r'| sed "s|__AGENT__|${agent}|g"| sed '/<!--[[:space:]]*VARIANT:sh/d'| sed '/<!--[[:space:]]*VARIANT:ps/d'>"$tmp_file"&& mv "$tmp_file""$plan_tpl"
122
+
# Replace {SCRIPT} placeholder with the script command and __AGENT__ with agent name
123
+
sed "s|{SCRIPT}|${script_command}|g""$plan_tpl"| tr -d '\r'| sed "s|__AGENT__|${agent}|g">"$tmp_file"&& mv "$tmp_file""$plan_tpl"
121
124
else
122
-
echo"Warning: no plan-template variant for $script(pattern not matched)">&2
125
+
echo"Warning: no plan-template script command found for $scriptin YAML frontmatter">&2
0 commit comments