summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-09 14:05:12 +0000
committeragc <agc@pkgsrc.org>1999-07-09 14:05:12 +0000
commit3a01c3ef8507b880ee5cc7b52b6670dd01ca8b27 (patch)
treed538f394e14efb95d67bfec29028fe7b2f76b363
parent7bfb5c4758fc62314209064b948a4649a2654107 (diff)
downloadpkgsrc-3a01c3ef8507b880ee5cc7b52b6670dd01ca8b27.tar.gz
Only create a patch-sum file if there are any patches to checksum
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 5027ca17482..36e60c4e8c7 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.293 1999/07/09 13:14:21 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.294 1999/07/09 14:05:12 agc Exp $
#
# This file is in the public domain.
#
@@ -1654,13 +1654,13 @@ makesum: fetch
makepatchsum:
${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${FILESDIR}
${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${PATCH_SUM_FILE}
- @${ECHO} -n "$$" > ${PATCH_SUM_FILE}; \
- ${ECHO} -n "NetBSD" >> ${PATCH_SUM_FILE}; \
- ${ECHO} "$$" >> ${PATCH_SUM_FILE}; \
- ${ECHO} "" >> ${PATCH_SUM_FILE}
${_PKG_SILENT}(${_PKG_DEBUG} \
if [ -d ${PATCHDIR} ]; then \
cd ${PATCHDIR}; \
+ ${ECHO} -n "$$" > ${PATCH_SUM_FILE}; \
+ ${ECHO} -n "NetBSD" >> ${PATCH_SUM_FILE}; \
+ ${ECHO} "$$" >> ${PATCH_SUM_FILE}; \
+ ${ECHO} "" >> ${PATCH_SUM_FILE}; \
for sumfile in "" patch-*; do \
if [ "X$$sumfile" = X"" ]; then continue; fi; \
case $$sumfile in \