Skip to content

Commit

Permalink
Add -i option to grep command to make it case-insensitive.
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Su <[email protected]>
  • Loading branch information
ghosind committed Oct 14, 2024
1 parent 999851a commit 3c58752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ export DVM_VERSION="v0.8.3"
break
fi

request_url=$(echo "$DVM_REQUEST_RESPONSE" | grep "link:" | sed 's/,/\n/g' | grep "rel=\"next\"" \
request_url=$(echo "$DVM_REQUEST_RESPONSE" | grep -i "link:" | sed 's/,/\n/g' | grep "rel=\"next\"" \
| sed 's/[<>]/\n/g' | grep "http")
dvm_debug "list releases next page url: $request_url"
done
Expand Down

0 comments on commit 3c58752

Please sign in to comment.