Skip to content

Commit

Permalink
Adding attribution for the vercomp function
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhagen committed Aug 28, 2024
1 parent 2e4aed7 commit cf0df0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ get_platform() {
fi
}

# from https://stackoverflow.com/questions/4023830/how-to-compare-two-strings-in-dot-separated-version-format-in-bash
vercomp() {
if [[ $1 == $2 ]]; then
return 0
Expand Down

0 comments on commit cf0df0a

Please sign in to comment.