Fix manifest path for cargo commands (#3549)
This commit is contained in:
parent
15b945a652
commit
c61bb16fdf
|
@ -42,7 +42,8 @@ else
|
||||||
if [[ -n $NDEBUG ]]; then
|
if [[ -n $NDEBUG ]]; then
|
||||||
maybe_release=--release
|
maybe_release=--release
|
||||||
fi
|
fi
|
||||||
printf "cargo run $maybe_release $maybe_package --bin solana-%s %s -- " "$program" "$features"
|
declare manifest_path="--manifest-path=$program/Cargo.toml"
|
||||||
|
printf "cargo run $manifest_path $maybe_release $maybe_package --bin solana-%s %s -- " "$program" "$features"
|
||||||
}
|
}
|
||||||
if [[ -n $SOLANA_CUDA ]]; then
|
if [[ -n $SOLANA_CUDA ]]; then
|
||||||
# shellcheck disable=2154 # 'here' is referenced but not assigned
|
# shellcheck disable=2154 # 'here' is referenced but not assigned
|
||||||
|
|
Loading…
Reference in New Issue