]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Use the detected name for MD5 everywhere.
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 17 Jan 2018 14:36:14 +0000 (15:36 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Wed, 17 Jan 2018 14:36:44 +0000 (08:36 -0600)
Affacted the (automatic) download script for external modules:
./build_tools/download_externals

ASTERISK-27596

Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b

build_tools/download_externals

index efeb6c53c6ffc2b5bbee0298be1c296f4f34fb83..e12feb8fc8fb4f373c100f9d9f468f8c6a51441f 100755 (executable)
@@ -165,7 +165,7 @@ if [[ -f ${DESTDIR}${ASTMODDIR}/${module_name}.manifest.xml ]] ; then
                                        fi
                                fi
 
-                               cs=$(md5sum ${f} | cut -b1-32)
+                               cs=$(${MD5} ${f} | cut -b1-32)
                                if [[ "${cs}" !=  "${sum}" ]] ; then
                                        echo Checksum mismatch: ${f}
                                        need_install=1