Check-in [049a34d925]
Overview
Comment:Updated to use "openssl dgst" instead of just "openssl <hashName>" for compatability with older versions of OpenSSL
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:049a34d92536205efb10f942fc154300f107bcc9
User & Date: rkeene on 2016-04-08 14:30:50
Other Links: manifest | tags
Context
2016-04-08
14:46
Updated to allow modules to do pre-build validation of the environment check-in: fbd2f87d32 user: rkeene tags: trunk
14:30
Updated to use "openssl dgst" instead of just "openssl <hashName>" for compatability with older versions of OpenSSL check-in: 049a34d925 user: rkeene tags: trunk
2016-03-30
16:18
For KitDLL, only add _APP and _USER to auto_path if they can be mounted and then later found check-in: 439e033536 user: rkeene tags: trunk
Changes

Modified common/helpers/download from [18dd990a6c] to [37e596df70].

    85     85   	hash="$2"
    86     86   	hashMethod="$3"
    87     87   
    88     88   	if [ "${hashMethod}" = 'null' ]; then
    89     89   		return 0
    90     90   	fi
    91     91   
    92         -	checkHash="$(openssl "${hashMethod}" "${file}" | sed 's@.*= *@@')"
           92  +	checkHash="$(openssl dgst "-${hashMethod}" "${file}" | sed 's@.*= *@@')"
    93     93   
    94     94   	if [ "${checkHash}" = "${hash}" ]; then
    95     95   		return 0
    96     96   	fi
    97     97   
    98     98   	echo "Hash (${hashMethod}) mismatch: Got: ${checkHash}; Expected: ${hash}" >&2
    99     99