diff --git a/cargo-test/runtest.sh b/cargo-test/runtest.sh index 390711a..0f8e852 100755 --- a/cargo-test/runtest.sh +++ b/cargo-test/runtest.sh @@ -6,7 +6,7 @@ dnf -y --best --nogpgcheck --repo="test-$pkg" install "$pkg-devel" provides=$(rpm -qP "$pkg-devel") while read -r prv; do - if [[ "$prv" =~ ^crate\(([^/]+)\)\ \=\ ([0-9]\.[0-9]\.[0-9]) ]]; then + if [[ "$prv" =~ ^crate\(([^/]+)\)\ \=\ ([0-9]+\.[0-9]+\.[0-9]+) ]]; then crate="${BASH_REMATCH[1]}" version="${BASH_REMATCH[2]}" fi