summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2007-11-07 16:29:49 +0000
committergdt <gdt@pkgsrc.org>2007-11-07 16:29:49 +0000
commitb22b61ed3f66763ca32f51b48257d56a07ebdcb3 (patch)
tree6024db6c4de48bf13b18b41aa28ea2781b97c985 /mk
parentde5574ff7edde90adedd603f0d96f017c5f69e6d (diff)
downloadpkgsrc-b22b61ed3f66763ca32f51b48257d56a07ebdcb3.tar.gz
use ${OLDNAME} instead of OLDNAME to make it clear that it's a
make variable. Pointed out by rilling/pkglint.
Diffstat (limited to 'mk')
-rw-r--r--mk/flavor/pkg/deinstall.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/flavor/pkg/deinstall.mk b/mk/flavor/pkg/deinstall.mk
index d3a8be1772c..18a8d4ba103 100644
--- a/mk/flavor/pkg/deinstall.mk
+++ b/mk/flavor/pkg/deinstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: deinstall.mk,v 1.4 2007/11/07 13:50:09 gdt Exp $
+# $NetBSD: deinstall.mk,v 1.5 2007/11/07 16:29:49 gdt Exp $
# Set the appropriate flags to pass to pkg_delete(1) based on the value
# of DEINSTALLDEPENDS (see pkgsrc/mk/install/deinstall.mk).
@@ -31,7 +31,7 @@ _PKG_ARGS_DEINSTALL+= -N -f # update w/o removing any files
#
_flavor-deinstall:
${_PKG_SILENT}${_PKG_DEBUG} \
- if [ x"$OLDNAME" = x ]; then \
+ if [ x"${OLDNAME}" = x ]; then \
found="`${PKG_INFO} -e \"${PKGNAME}\" || ${TRUE}`"; \
else \
found=${OLDNAME}; \