bin/121784: [patch] freebsd-update(8) error message on upgrade
Jaakko Heinonen
jh at saunalahti.fi
Mon Mar 17 15:40:03 UTC 2008
The following reply was made to PR bin/121784; it has been noted by GNATS.
From: Jaakko Heinonen <jh at saunalahti.fi>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/121784: [patch] freebsd-update(8) error message on upgrade
Date: Mon, 17 Mar 2008 17:35:41 +0200
--8t9RHnE3ZwKMSgU+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
--8t9RHnE3ZwKMSgU+
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="freebsd-update-sha256.diff"
Index: freebsd-update.sh
===================================================================
RCS file: /home/ncvs/src/usr.sbin/freebsd-update/freebsd-update.sh,v
retrieving revision 1.12
diff -u -r1.12 freebsd-update.sh
--- freebsd-update.sh 16 Nov 2007 14:00:22 -0000 1.12
+++ freebsd-update.sh 17 Mar 2008 13:16:36 -0000
@@ -2196,9 +2196,8 @@
# Store merged files.
while read F; do
- V=`${SHA256} -q merge/new/${F}`
-
if [ -f merge/new/${F} ]; then
+ V=`${SHA256} -q merge/new/${F}`
gzip -c < merge/new/${F} > files/${V}.gz
echo "${F}|${V}"
fi
--8t9RHnE3ZwKMSgU+--
More information about the freebsd-bugs
mailing list