Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/etcupdate From Jim Bernard in PR install/50615: ins...



details:   https://anonhg.NetBSD.org/src/rev/03bafac981c8
branches:  trunk
changeset: 812788:03bafac981c8
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jan 03 08:44:59 2016 +0000

description:
>From Jim Bernard in PR install/50615: install_checksum expects a path
relative to ${DESTDIR}, and most callers did pass it that way - fix the
one place where it eroneously was called with a ${DESTDIR} path.

diffstat:

 usr.sbin/etcupdate/etcupdate |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b470e8e79292 -r 03bafac981c8 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate      Sun Jan 03 08:17:24 2016 +0000
+++ b/usr.sbin/etcupdate/etcupdate      Sun Jan 03 08:44:59 2016 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: etcupdate,v 1.59 2014/11/13 07:11:06 apb Exp $
+# $NetBSD: etcupdate,v 1.60 2016/01/03 08:44:59 martin Exp $
 #
 # Copyright (c) 2001-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -280,7 +280,7 @@
        if cmp -s "${TEMPROOT}${1}" "${DESTDIR}${1}"; then
                verbose "===> ${1} (ok)"
                rm -f "${TEMPROOT}${1}"
-               install_checksum "${DESTDIR}${1}"
+               install_checksum "${1}"
                return
        fi
 



Home | Main Index | Thread Index | Old Index