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
commit2f6a307e9891bc23d08e9d334fb87308c4930622 (patch)
tree673df1477840a710d4375bcea0d37eb0546003eb /mk
parenta0690f0c1877ab1e54134cf0e2c797d1e412c320 (diff)
downloadpkgsrc-2f6a307e9891bc23d08e9d334fb87308c4930622.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