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 1f57214 commit 5d914e1
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 @@ -19,7 +19,7 @@ source $HOME/.cargo/env
# Extract the wasi2ic version and repository URL
WASI2IC_LINE=$(grep 'wasi2ic version:' "$GLOBAL_DEPENDENCIES_FILE")
WASI2IC_VERSION=$(echo "$WASI2IC_LINE" | awk -F' ' '{print $4}')
WASI2IC_URL=$(echo "$WASI2IC_LINE" | grep -oP '(https://[^\s]+)')
WASI2IC_URL=$(echo "$WASI2IC_LINE" | grep -oP '(?<=\().+?(?=\))')

if [[ -z "$WASI2IC_VERSION" || -z "$WASI2IC_URL" ]]; then
echo "wasi2ic version or URL not found in $GLOBAL_DEPENDENCIES_FILE"
Expand Down

0 comments on commit 5d914e1

Please sign in to comment.