1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Fix regression from r325805 and allow 'make fetch' to work

without distinfo

Reported by:	sunpoet
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2013-09-03 01:13:10 +00:00
parent f7a8022a93
commit 858fc84d23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326117

View File

@ -3432,7 +3432,7 @@ do-fetch:
esac; \
if ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} ${FETCH_AFTER_ARGS}; then \
actual_size=`stat -f %z "$${file}"`; \
if [ -n "${DISABLE_SIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \
if [ -n "${DISABLE_SIZE}" ] || [ -z "$${CKSIZE}" ] || [ $${actual_size} -eq $${CKSIZE} ]; then \
continue 2; \
else \
${ECHO_MSG} "=> Fetched file size mismatch (expected $${CKSIZE}, actual $${actual_size})"; \