cargo-test: remove unneeded eval

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
ignatenkobrain 2018-07-21 00:37:47 +02:00
commit 707af2fb8d
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -20,7 +20,7 @@ crate_toml="$crate_dir/Cargo.toml"
# XXX: ideally we should just install -tests subpackage
# which would require all necessary deps
eval $(rpm --eval "%{__cargo_inspector}") --test-requires "$crate_toml" | \
$(rpm --eval "%{__cargo_inspector}") --test-requires "$crate_toml" | \
sed -r -e "s/(.*)/'\1'/" | xargs sudo dnf -y install
# XXX: sed is needed due to https://github.com/rpm-software-management/rpm/issues/472