pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/checksum
Module Name: pkgsrc
Committed By: jperkin
Date: Sun May 8 12:25:18 UTC 2022
Modified Files:
pkgsrc/mk/checksum: checksum.mk
Log Message:
mk/checksum: Remove distinfo before replacing.
This avoids .nfs* warts when pkgsrc is on NFS.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/mk/checksum/checksum.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/checksum/checksum.mk
diff -u pkgsrc/mk/checksum/checksum.mk:1.25 pkgsrc/mk/checksum/checksum.mk:1.26
--- pkgsrc/mk/checksum/checksum.mk:1.25 Tue Oct 26 09:06:06 2021
+++ pkgsrc/mk/checksum/checksum.mk Sun May 8 12:25:18 2022
@@ -1,4 +1,4 @@
-# $NetBSD: checksum.mk,v 1.25 2021/10/26 09:06:06 nia Exp $
+# $NetBSD: checksum.mk,v 1.26 2022/05/08 12:25:18 jperkin Exp $
#
# See bsd.checksum.mk for helpful comments.
#
@@ -88,6 +88,7 @@ distinfo:
${RM} -f $$newfile; \
${ECHO_MSG} "=> distinfo: unchanged."; \
else \
+ ${RM} -f ${DISTINFO_FILE}; \
${MV} -f $$newfile ${DISTINFO_FILE}; \
fi
@@ -100,6 +101,7 @@ makesum:
${RM} -f $$newfile; \
${ECHO_MSG} "=> distinfo: distfiles part unchanged."; \
else \
+ ${RM} -f ${DISTINFO_FILE}; \
${MV} -f $$newfile ${DISTINFO_FILE}; \
fi
@@ -112,6 +114,7 @@ makepatchsum:
${RM} -f $$newfile; \
${ECHO_MSG} "=> distinfo: patches part unchanged."; \
else \
+ ${RM} -f ${DISTINFO_FILE}; \
${MV} -f $$newfile ${DISTINFO_FILE}; \
fi
Home |
Main Index |
Thread Index |
Old Index