Module Name:    src
Committed By:   roy
Date:           Thu Apr  9 15:24:31 UTC 2020

Modified Files:
        src/usr.sbin/postinstall: postinstall.in

Log Message:
Fix dhcpcd $DEST_DIR support


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/postinstall/postinstall.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/postinstall/postinstall.in
diff -u src/usr.sbin/postinstall/postinstall.in:1.18 src/usr.sbin/postinstall/postinstall.in:1.19
--- src/usr.sbin/postinstall/postinstall.in:1.18	Mon Apr  6 13:10:48 2020
+++ src/usr.sbin/postinstall/postinstall.in	Thu Apr  9 15:24:31 2020
@@ -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 @@ do_dhcpcd()
 	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} + $? ))

Reply via email to