Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/postinstall postinstall: use correct DEST_DIR in ob...



details:   https://anonhg.NetBSD.org/src/rev/19bea86e80c3
branches:  trunk
changeset: 961896:19bea86e80c3
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Apr 25 00:29:52 2021 +0000

description:
postinstall: use correct DEST_DIR in obsolete_stand

diffstat:

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

diffs (20 lines):

diff -r 4b6a2a460c52 -r 19bea86e80c3 usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Sat Apr 24 23:40:16 2021 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Sun Apr 25 00:29:52 2021 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.33 2020/08/28 15:26:23 christos Exp $
+# $NetBSD: postinstall.in,v 1.34 2021/04/25 00:29:52 lukem Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -2371,7 +2371,7 @@
            ${prefix}/stand/${MACHINE}-xen \
            ${prefix}/stand/${MACHINE}pae-xen
        do
-               [ -d "${DESTDIR}${dir}" ] && obsolete_stand "${dir}"
+               [ -d "${DEST_DIR}${dir}" ] && obsolete_stand "${dir}"
        done | obsolete_paths "${op}"
        failed=$(( ${failed} + $? ))
 



Home | Main Index | Thread Index | Old Index