diff --git a/install-cross-nix.sh b/install-cross-nix.sh index 0c0dc0e..a204854 100755 --- a/install-cross-nix.sh +++ b/install-cross-nix.sh @@ -12,6 +12,7 @@ cd "$CROSS_DIR" if [[ -n $VERSION ]] && ! [[ $VERSION =~ ^v ]]; then cargo install cross --git https://github.com/cross-rs/cross --rev "$VERSION" mv "$HOME/.cargo/bin/cross" . + cross --version exit 0 fi @@ -26,3 +27,4 @@ curl --silent --location \ sh # shellcheck disable=SC2086 ./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS +cross --version