also pass flags to install

This commit is contained in:
Ralf Jung 2019-05-28 19:20:01 +02:00
parent d55d04780c
commit bf9f26401f

2
miri
View File

@ -103,7 +103,7 @@ case "$COMMAND" in
install|install-debug)
# "--locked" to respect the Cargo.lock file if it exists,
# "--offline" to avoid querying the registry (for yanked packages).
exec cargo install --path "$(dirname "$0")" --force --locked --offline "$@"
exec cargo install $CARGO_INSTALL_FLAGS --path "$(dirname "$0")" --force --locked --offline "$@"
;;
build|build-debug)
# Build, and let caller control flags.