diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-11-26 19:56:06 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-11-26 19:56:06 +0000 |
commit | 0a389920638a4a51b628cb00b82477c67131be91 (patch) | |
tree | 54d7bf03e8d843ffc5ac459fe677949b472608a7 /mk | |
parent | cecae409e556e35b310c0d37811e9ede058e2ea1 (diff) | |
download | pkgsrc-0a389920638a4a51b628cb00b82477c67131be91.tar.gz |
fetch-list: properly quote URLs printed, as they may contain things that
the shell doesn't like.
Fixes PR 14347 by Ben Wong <Benjamin.Wong@cc.gatech.edu>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 53cd14284cf..fc96ed5ca4a 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.862 2001/11/25 19:38:55 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.863 2001/11/26 19:56:06 hubertf Exp $ # # This file is in the public domain. # @@ -2476,7 +2476,7 @@ fetch-list-one-pkg: ${ECHO} -n "cd ${_DISTDIR} && [ -f $$file -o -f $$bfile ] || "; \ for site in "" `${SORTED_MASTER_SITES_CMD}`; do \ if [ "X$$site" = X"" ]; then continue; fi; \ - ${ECHO} -n ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${file} "${FETCH_AFTER_ARGS}" '|| '; \ + ${ECHO} -n ${FETCH_CMD} ${FETCH_BEFORE_ARGS} "'"$${site}$${file}"'" "${FETCH_AFTER_ARGS}" '|| '; \ done; \ ${ECHO} "${ECHO} $${file} not fetched"; \ fi \ |