diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-03 01:13:10 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2013-09-03 01:13:10 +0000 |
commit | 858fc84d234563960cc436a0913ca1d2289cf3b3 (patch) | |
tree | 7924d757255da07fa2d524e9da3229425313eb7a /Mk | |
parent | f7a8022a93e9b23904bf2e38302713b5d9af47b7 (diff) | |
download | ports-858fc84d234563960cc436a0913ca1d2289cf3b3.tar.gz ports-858fc84d234563960cc436a0913ca1d2289cf3b3.zip |
Notes
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 746f484f8100..ce15e41d8738 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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})"; \ |