Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/postinstall Fix dhcpcd $DEST_DIR support



details:   https://anonhg.NetBSD.org/src/rev/115739982978
branches:  trunk
changeset: 1009015:115739982978
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Apr 09 15:24:31 2020 +0000

description:
Fix dhcpcd $DEST_DIR support

diffstat:

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

diffs (20 lines):

diff -r 65757c9dd5c9 -r 115739982978 usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Thu Apr 09 14:44:38 2020 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Thu Apr 09 15:24:31 2020 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.18 2020/04/06 13:10:48 roy Exp $
+# $NetBSD: postinstall.in,v 1.19 2020/04/09 15:24:31 roy Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -945,7 +945,7 @@
        populate_dir "$op" true "${dir}" "${DEST_DIR}/etc" 644 dhcpcd.conf
        failed=$(( ${failed} + $? ))
 
-       dstdir="${DESTDIR}/var/chroot/dhcpcd"
+       dstdir="${DEST_DIR}/var/chroot/dhcpcd"
 
        check_dir "${op}" "${dstdir}/var/db/dhcpcd" 755
        failed=$(( ${failed} + $? ))



Home | Main Index | Thread Index | Old Index