Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Sep 12, 2024
1 parent a0ea3ef commit 8e780f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/install_rust_from_global_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
GLOBAL_DEPENDENCIES_FILE="$PWD/global_dependencies"

# Extract the rustc version from the file (picking only the version number)
RUST_VERSION=$(grep 'rustc version:' "$GLOBAL_DEPENDENCIES_FILE" | awk '{print $3}' | cut -d' ' -f1)
RUST_VERSION=$(grep 'rustc version:' "$GLOBAL_DEPENDENCIES_FILE" | awk '{print $4}' | cut -d' ' -f1)

if [[ -z "$RUST_VERSION" ]]; then
echo "Rust version not found in $GLOBAL_DEPENDENCIES_FILE"
Expand Down

0 comments on commit 8e780f3

Please sign in to comment.