Fix -j race on libsashidown.a; cst-agent-update keeps the install prefix
ci / linux (clang) (push) Canceled after 0s
ci / linux (gcc) (push) Canceled after 0s
ci / sanitizers (push) Canceled after 0s
ci / musl (push) Canceled after 0s
ci / macos (push) Canceled after 0s

This commit is contained in:
WHC
2026-10-05 12:40:45 +08:00
parent ef63f6d612
commit c81df42f0b
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -99,6 +99,7 @@ main() {
run_make install PREFIX="$prefix" >/dev/null
cat >"$prefix/bin/cst-agent-update" <<EOF
#!$(command -v bash)
export CST_AGENT_PREFIX="\${CST_AGENT_PREFIX:-$prefix}"
exec bash "$dir/scripts/bootstrap_linux.sh" "$dir" "\$@"
EOF
chmod 0755 "$prefix/bin/cst-agent-update"