postinstall: use correct DEST_DIR in obsolete_stand
This commit is contained in:
parent
be6b3f34c5
commit
797de592da
|
@ -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 @@ obsolete_stand_internal()
|
|||
${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} + $? ))
|
||||
|
||||
|
|
Loading…
Reference in New Issue