diff --git a/cargo-test/runtest.sh b/cargo-test/runtest.sh index 0f8e852..b54bf99 100755 --- a/cargo-test/runtest.sh +++ b/cargo-test/runtest.sh @@ -21,7 +21,7 @@ crate_toml="$crate_dir/Cargo.toml" # XXX: ideally we should just install -tests subpackage # which would require all necessary deps $(rpm --eval "%{__cargo_inspector}") --test-requires "$crate_toml" | \ - sed -r -e "s/(.*)/'\1'/" | xargs sudo dnf -y install + sed -r -e "s/(.*)/'\1'/" | xargs -r sudo dnf -y install # XXX: sed is needed due to https://github.com/rpm-software-management/rpm/issues/472 rpm -D "_with_check 1" --eval "%cargo_prep" | \