Mk/Scripts/makesum.sh: Fix for distinfo files with nothing but a TIMESTAMP

PR:		267904
This commit is contained in:
Tijl Coosemans 2022-11-21 18:46:52 +01:00
parent 9a7da5f4c6
commit 4a51f972d1
1 changed files with 1 additions and 1 deletions

View File

@ -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