summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/bin-install.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/install/bin-install.mk b/mk/install/bin-install.mk
index d719bb1ac63..75f73f50396 100644
--- a/mk/install/bin-install.mk
+++ b/mk/install/bin-install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bin-install.mk,v 1.14 2007/09/19 13:32:59 rillig Exp $
+# $NetBSD: bin-install.mk,v 1.15 2007/09/21 23:59:30 rillig Exp $
#
# This file provides the following targets:
@@ -68,7 +68,8 @@ locked-su-do-bin-install:
rel=${_SHORT_UNAME_R:Q}; \
arch=${MACHINE_ARCH:Q}; \
pkg_path=${PKGREPOSITORY:Q}; \
- for i in ${BINPKG_SITES}; do \
+ set args ${BINPKG_SITES}; shift; \
+ for i in "$$@"; do \
pkg_path="$$pkg_path;$$i/All"; \
done; \
${STEP_MSG} "Installing ${PKGNAME} from $$pkg_path"; \
@@ -91,7 +92,8 @@ locked-su-do-bin-install:
rel=${_SHORT_UNAME_R:Q}; \
arch=${MACHINE_ARCH:Q}; \
pkg_path=${PKGREPOSITORY:Q}; \
- for i in ${BINPKG_SITES}; do \
+ set args ${BINPKG_SITES}; shift; \
+ for i in "$$@"; do \
pkg_path="$$pkg_path;$$i/All"; \
done; \
pkgpattern=${PKGNAME_REQD:U${PKGNAME}:Q}; \