]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix PR 90142: contrib/download_prerequisites uses test ==
authorAndrew Pinski <apinski@marvell.com>
Mon, 30 Aug 2021 20:30:41 +0000 (20:30 +0000)
committerAndrew Pinski <apinski@marvell.com>
Mon, 30 Aug 2021 20:53:19 +0000 (20:53 +0000)
commit79a017c412b412f26ec39e0ada75e247fcff5611
tree46d6409e3cf39f49dbff77aba8f54e3107f9fff5
parente18e56c76be35e6a799e07a01c24e0fff3eb1978
Fix PR 90142: contrib/download_prerequisites uses test ==

Since == is not portable, it is better to use = in contrib/
download_prerequisites.  The only place == was used is inside
the function md5_check which is used only on Mac OS X.

Tested on Mac OS X as:
./contrib/download_prerequisites --md5
Both with all files having the correct checksum and one with a broken one.

contrib/ChangeLog:

* download_prerequisites (md5_check): Replace == inside
test with = to be more portable.
contrib/download_prerequisites