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

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


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


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

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: If4c3176f7bf58df32fec6e02a659f1a78d57cf4b
Gerrit-Change-Number: 8003
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/f80fcfa7/attachment-0001.html>


More information about the asterisk-code-review mailing list