FreeBSD Bugzilla – Attachment 238230 Details for
Bug 267904
Mk/Scripts/makesum.sh: Fix for distinfo files with nothing but a TIMESTAMP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-Mk-Scripts-makesum.sh-Fix-for-distinfo-files-with-no.patch (text/plain), 924 bytes, created by
Tijl Coosemans
on 2022-11-21 20:31:23 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Tijl Coosemans
Created:
2022-11-21 20:31:23 UTC
Size:
924 bytes
patch
obsolete
>From e8d64c34eb3fcebbd66321c6d2f6390daf67bfb9 Mon Sep 17 00:00:00 2001 >From: Tijl Coosemans <tijl@FreeBSD.org> >Date: Mon, 21 Nov 2022 18:46:52 +0100 >Subject: [PATCH] Mk/Scripts/makesum.sh: Fix for distinfo files with nothing > but a TIMESTAMP > >PR: ??? >Approved by: portmgr (???) >--- > Mk/Scripts/makesum.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Mk/Scripts/makesum.sh b/Mk/Scripts/makesum.sh >index 1d09b7ffb82a..c9f50e56bb5d 100644 >--- a/Mk/Scripts/makesum.sh >+++ b/Mk/Scripts/makesum.sh >@@ -28,7 +28,7 @@ cd "${dp_DISTDIR}" > # So, we extract the content of the distinfo file minus the TIMESTAMP, if it > # contains a TIMESTAMP. > if [ -f "${dp_DISTINFO_FILE}" ] && grep -q "^TIMESTAMP " ${dp_DISTINFO_FILE}; then >- grep -v "^TIMESTAMP " ${dp_DISTINFO_FILE} > ${DISTINFO_OLD} >+ grep -v "^TIMESTAMP " ${dp_DISTINFO_FILE} > ${DISTINFO_OLD} || true > fi > > for file in ${dp_CKSUMFILES}; do >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267904
: 238230