summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-10-06 13:34:53 +0000
committerjoerg <joerg@pkgsrc.org>2009-10-06 13:34:53 +0000
commit0e9bca658f40de8dd61410092860cd4b96c926ab (patch)
tree673df1477840a710d4375bcea0d37eb0546003eb /mk
parent91a0f16c0139fa2d3e985bbaca25eecadab85495 (diff)
downloadpkgsrc-0e9bca658f40de8dd61410092860cd4b96c926ab.tar.gz
Use the correct variable names.
Diffstat (limited to 'mk')
-rw-r--r--mk/install/install.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/install/install.mk b/mk/install/install.mk
index 5a05a4c101e..146fdab105e 100644
--- a/mk/install/install.mk
+++ b/mk/install/install.mk
@@ -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 @@ install-strip-debug: plist
${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