[Asterisk-code-review] BuildSystem: Use the detected name for MD5 everywhere. (asterisk[15])

Alexander Traud asteriskteam at digium.com
Wed Jan 17 08:36:53 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8004


Change subject: BuildSystem: Use the detected name for MD5 everywhere.
......................................................................

BuildSystem: Use the detected name for MD5 everywhere.

Affacted the (automatic) download script for external modules:
./build_tools/download_externals

ASTERISK-27596

Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b
---
M build_tools/download_externals
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/04/8004/1

diff --git a/build_tools/download_externals b/build_tools/download_externals
index efeb6c5..e12feb8 100755
--- a/build_tools/download_externals
+++ b/build_tools/download_externals
@@ -165,7 +165,7 @@
 					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

-- 
To view, visit https://gerrit.asterisk.org/8004
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b
Gerrit-Change-Number: 8004
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180117/bbfb5871/attachment.html>


More information about the asterisk-code-review mailing list