Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for check_minimum_version (0.18 sec)

  1. buildscripts/checkdeps.sh

    ## we have our own version compare function.
    ## Once OSX has the option, below function is good enough.
    ##
    ## check_minimum_version() {
    ##     versions=($(echo -e "$1\n$2" | sort -V))
    ##     return [ "$1" == "${versions[0]}" ]
    ## }
    ##
    check_minimum_version() {
    	IFS='.' read -r -a varray1 <<<"$1"
    	IFS='.' read -r -a varray2 <<<"$2"
    
    	for i in "${!varray1[@]}"; do
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top