pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/install Use the correct variable names.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/724c0420edad
branches:  trunk
changeset: 399859:724c0420edad
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Oct 06 13:34:53 2009 +0000

description:
Use the correct variable names.

diffstat:

 mk/install/install.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 43f28e01a461 -r 724c0420edad mk/install/install.mk
--- a/mk/install/install.mk     Tue Oct 06 10:24:01 2009 +0000
+++ b/mk/install/install.mk     Tue Oct 06 13:34:53 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.56 2009/09/20 10:44:33 joerg Exp $
+# $NetBSD: install.mk,v 1.57 2009/10/06 13:34:53 joerg Exp $
 #
 # This file provides the code for the "install" phase.
 #
@@ -344,12 +344,12 @@
        ${RUN}${CAT} ${_PLIST_NOKEYWORDS} \
        | ${SED} -e 's|^|${DESTDIR}${PREFIX}/|' \
        | while read f; do \
-               tmp_f="$${fname}.XXX"; \
+               tmp_f="$${f}.XXX"; \
                if ${STRIP} -g -o "$${tmp_f}" "$${f}" 2> /dev/null; then \
-                       [ ! -f "$${f}.tmpXXX" ] || \
+                       [ ! -f "$${f}" ] || \
                            ${MV} "$${tmp_f}" "$${f}"; \
                else \
-                       ${RM} -f $${tmp_f}; \
+                       ${RM} -f "$${tmp_f}"; \
                fi \
        done
 



Home | Main Index | Thread Index | Old Index