mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Fix a regression in bsd.port.mk where ports with multiple checksums per file
would fail make checksum. Note: this is the simplest fix, but there is a more complete fix by eik and myself that works in the spirit of the original distinfo cleanup patch. However, that patch needs to be tested on bento first. PR: 61772 Submitted by: dinoex
This commit is contained in:
parent
d4b0ebddfb
commit
616f248e22
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98897
@ -4116,7 +4116,7 @@ checksum: fetch
|
||||
${ECHO_MSG} ">> Checksum for $$file is set to IGNORE in distinfo file even though"; \
|
||||
${ECHO_MSG} " the file is not in the "'$$'"{IGNOREFILES} list."; \
|
||||
OK="false"; \
|
||||
elif [ "$$CKSUM2" = "$$CKSUM" ]; then \
|
||||
elif ${EXPR} "$$CKSUM2" : ".*$$CKSUM" > /dev/null; then \
|
||||
${ECHO_MSG} ">> Checksum OK for $$file."; \
|
||||
else \
|
||||
${ECHO_MSG} ">> Checksum mismatch for $$file."; \
|
||||
|
Loading…
Reference in New Issue
Block a user