cross-remote: an empty CARGO_ARGS array under bash 3.2's set -u (unbound variable at the default-command test); the default command runs again
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
ebe27aae69
commit
359dd11d00
1 changed files with 2 additions and 2 deletions
|
|
@ -55,10 +55,10 @@ bs_host
|
|||
bs_context
|
||||
case "$BS_KIND:$BS_CRATE_REL" in
|
||||
node:*)
|
||||
[ "${#CARGO_ARGS[@]}" -gt 0 ] || CARGO_ARGS=(build --release -p kaspad -p igneum-miner --features igneum-pow --target "$TARGET")
|
||||
[ -n "${CARGO_ARGS[*]:-}" ] || CARGO_ARGS=(build --release -p kaspad -p igneum-miner --features igneum-pow --target "$TARGET")
|
||||
EXES="igneumd.exe igneum-miner.exe" ;;
|
||||
repo:app/igneum-app)
|
||||
[ "${#CARGO_ARGS[@]}" -gt 0 ] || CARGO_ARGS=(build --release --target "$TARGET")
|
||||
[ -n "${CARGO_ARGS[*]:-}" ] || CARGO_ARGS=(build --release --target "$TARGET")
|
||||
EXES="igneum-app.exe igneum-ota-sign.exe igneum-prove-verify.exe" ;;
|
||||
*) bs_die "cross-remote builds the fork (run from a vendor/igneum-node* worktree) or app/igneum-app, not $BS_CRATE_REL" ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue