summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoragc <agc>1999-07-09 14:05:12 +0000
committeragc <agc>1999-07-09 14:05:12 +0000
commit4efddd5d9a2257738255745112a83a8a233fafbf (patch)
treed538f394e14efb95d67bfec29028fe7b2f76b363 /mk
parent9da1881e51bb6593d0f8739c6e313d2e1146f575 (diff)
downloadpkgsrc-4efddd5d9a2257738255745112a83a8a233fafbf.tar.gz
Only create a patch-sum file if there are any patches to checksum
Diffstat (limited to 'mk')
-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 \