Date: Mon, 17 Mar 2008 15:40:03 GMT From: Jaakko Heinonen <jh@saunalahti.fi> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/121784: [patch] freebsd-update(8) error message on upgrade Message-ID: <200803171540.m2HFe3PO080442@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/121784; it has been noted by GNATS.
From: Jaakko Heinonen <jh@saunalahti.fi>
To: bug-followup@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+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803171540.m2HFe3PO080442>
