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 wrong variable name, PR bin/48647 f...



details:   https://anonhg.NetBSD.org/src/rev/31567ca33d45
branches:  trunk
changeset: 327459:31567ca33d45
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Mar 08 16:36:24 2014 +0000

description:
Fix wrong variable name, PR bin/48647 from Jim Bernard.

diffstat:

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

diffs (38 lines):

diff -r 9eb122718118 -r 31567ca33d45 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Sat Mar 08 15:46:20 2014 +0000
+++ b/usr.sbin/postinstall/postinstall  Sat Mar 08 16:36:24 2014 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.164 2014/02/15 01:54:17 jmmv Exp $
+# $NetBSD: postinstall,v 1.165 2014/03/08 16:36:24 martin Exp $
 #
 # Copyright (c) 2002-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -905,7 +905,7 @@
                msg \
     "Broken fontconfig configuration found; please delete these files"
                msg \
-    "in the ${DESTDIR}/etc/fonts/conf.d/ subdirectory:"
+    "in the ${DEST_DIR}/etc/fonts/conf.d/ subdirectory:"
                msg \
     "   10-autohint.conf 10-no-sub-pixel.conf 10-sub-pixel-bgr.conf"
                msg \
@@ -1562,7 +1562,7 @@
                _notfixed="${NOT_FIXED}"
        fi
 
-       if [ ! -d "${DESTDIR}${pcpath}" ]; then
+       if [ ! -d "${DEST_DIR}${pcpath}" ]; then
                return 0
        fi
 
@@ -1578,7 +1578,7 @@
 
        # If the directory was removed above, then try to replace it with
        # a file.
-       if [ -d "${DESTDIR}${pcpath}" ]; then
+       if [ -d "${DEST_DIR}${pcpath}" ]; then
                msg "${filemsg}${_notfixed}"
                failed=$(( ${failed} + 1 ))
        else



Home | Main Index | Thread Index | Old Index