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

Jenkins2 asteriskteam at digium.com
Thu Jan 18 10:17:50 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8002 )

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(-)

Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



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/8002
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b
Gerrit-Change-Number: 8002
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180118/fdb78d2d/attachment-0001.html>


More information about the asterisk-code-review mailing list