diff options
author | pav <pav@FreeBSD.org> | 2007-04-07 20:51:47 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-04-07 20:51:47 +0800 |
commit | dd27783555e8f0b23969e7887c4161bc3caa7964 (patch) | |
tree | 6d748e529e1d7db66761a3466a9bd2222bd04bf8 | |
parent | a31499f8472cb1c1eafab2a27942eae80272da09 (diff) | |
download | freebsd-ports-gnome-dd27783555e8f0b23969e7887c4161bc3caa7964.tar.gz freebsd-ports-gnome-dd27783555e8f0b23969e7887c4161bc3caa7964.tar.zst freebsd-ports-gnome-dd27783555e8f0b23969e7887c4161bc3caa7964.zip |
- Fix regression in makesum target introduced with rev. 1.561
Tested by: kris on pointyhat
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 915600beb18a..edaec87e3fe1 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3303,8 +3303,8 @@ check-vulnerable: .endif # set alg to any of SIZE, MD5, SHA256 (or any other checksum algorithm): -DISTINFO_DATA?= DIR=${DIST_SUBDIR}; ${AWK} -v alg=$$alg \ - -v file=$${DIR:+$$DIR/}$${file} \ +DISTINFO_DATA?= if [ \( -n "${DISABLE_SIZE}" -a -n "${NO_CHECKSUM}" \) -o ! -f "${MD5_FILE}" ]; then exit; fi; \ + DIR=${DIST_SUBDIR}; ${AWK} -v alg=$$alg -v file=$${DIR:+$$DIR/}$${file} \ '$$1 == alg && $$2 == "(" file ")" {print $$4}' ${MD5_FILE} # Fetch |