525622dcc2
Mingw-w64 is an advancement of the original mingw.org project, created to support the GCC compiler on Windows systems. It has forked it in 2007 in order to provide support for 64 bits and new APIs. It has since then gained widespread use and distribution. This package provides mingw-w64 GCC for x86_64 target.
15 lines
659 B
Text
15 lines
659 B
Text
$NetBSD: patch-contrib_download__prerequisites,v 1.1 2018/06/07 19:21:47 ryoon Exp $
|
|
|
|
* Fix a POSIX portability issue
|
|
|
|
--- contrib/download_prerequisites.orig 2018-01-29 13:30:02.000000000 +0000
|
|
+++ contrib/download_prerequisites
|
|
@@ -122,7 +122,7 @@ md5_check() {
|
|
md5_checksum_output=$(md5 -r "${file_to_check}")
|
|
# Grab the text before the first space
|
|
md5_checksum_detected="${md5_checksum_output%% *}"
|
|
- [ "${md5_checksum_expected}" == "${md5_checksum_detected}" ] \
|
|
+ [ "${md5_checksum_expected}" = "${md5_checksum_detected}" ] \
|
|
|| die "Cannot verify integrity of possibly corrupted file ${file_to_check}"
|
|
echo "${file_to_check}: OK"
|
|
}
|