summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.update.mk
diff options
context:
space:
mode:
authorobache <obache>2014-02-14 07:14:23 +0000
committerobache <obache>2014-02-14 07:14:23 +0000
commitbe0546ecc27faeb6ac21ded4262d12543983ecd4 (patch)
treef2a13c79bda612b63b423327d149000dd65880d9 /mk/bsd.pkg.update.mk
parentaa2006e2bad1929743d7061b4b9b911ced30aedf (diff)
downloadpkgsrc-be0546ecc27faeb6ac21ded4262d12543983ecd4.tar.gz
fixes last commit, delete too aggressively :(
Diffstat (limited to 'mk/bsd.pkg.update.mk')
-rw-r--r--mk/bsd.pkg.update.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.update.mk b/mk/bsd.pkg.update.mk
index d48e657d868..fbf74c4299a 100644
--- a/mk/bsd.pkg.update.mk
+++ b/mk/bsd.pkg.update.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.25 2014/02/14 06:47:24 obache Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.26 2014/02/14 07:14:23 obache Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and contains the targets
# and variables for "make update".
@@ -16,7 +16,7 @@ REINSTALL?= NO # reinstall upon update
#
.if !defined(UPDATE_TARGET)
. if defined(DEPENDS_TARGET) && (${DEPENDS_TARGET} == "update")
-. make(package) || make(package-install)
+. if make(package) || make(package-install)
UPDATE_TARGET= package-install
. else
UPDATE_TARGET= install