Module Name: src Committed By: martin Date: Sat Mar 8 16:36:24 UTC 2014
Modified Files: src/usr.sbin/postinstall: postinstall Log Message: Fix wrong variable name, PR bin/48647 from Jim Bernard. To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/usr.sbin/postinstall/postinstall 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 diff -u src/usr.sbin/postinstall/postinstall:1.164 src/usr.sbin/postinstall/postinstall:1.165 --- src/usr.sbin/postinstall/postinstall:1.164 Sat Feb 15 01:54:17 2014 +++ src/usr.sbin/postinstall/postinstall Sat Mar 8 16:36:24 2014 @@ -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 @@ do_fontconfig() 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 @@ ${pcpath} was a directory, should be a f _notfixed="${NOT_FIXED}" fi - if [ ! -d "${DESTDIR}${pcpath}" ]; then + if [ ! -d "${DEST_DIR}${pcpath}" ]; then return 0 fi @@ -1578,7 +1578,7 @@ ${pcpath} was a directory, should be a f # 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