Skip to content

Commit

Permalink
fix check_compatibility.sh understanding of ~=
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Jun 1, 2024
1 parent a71fb4e commit 48fdee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_compatibility.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ check_compatibility() {
continue
fi

package_name=$(echo "$requirement" | awk -F'[!=<>]' '{print $1}' | awk -F'[' '{print $1}') # Strip off brackets
package_name=$(echo "$requirement" | awk -F'[!=<>~]' '{print $1}' | awk -F'[' '{print $1}') # Strip off brackets
echo -n "Checking $package_name... "

url="https://pypi.org/pypi/$package_name/json"
Expand Down

0 comments on commit 48fdee7

Please sign in to comment.