From 7fa1adbf79cd2757696a2e694f8ce7b935330fbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 1 Feb 2017 02:00:14 +0000 Subject: subr/pkg_fetch.subr: correctly handle multiple arguments in pkgp_fetch_urls_git(). --- subr/pkg_fetch.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr') diff --git a/subr/pkg_fetch.subr b/subr/pkg_fetch.subr index f2653754..beb76e60 100644 --- a/subr/pkg_fetch.subr +++ b/subr/pkg_fetch.subr @@ -49,7 +49,7 @@ pkgp_fetch_git() { }; pkgp_fetch_urls_git() { - for _ppfu_url_spec in ${1}; do + for _ppfu_url_spec in "${@}"; do _ppfu_subdir=${_ppfu_url_spec%=*}; _ppfu_url=${_ppfu_url_spec#*=}; _ppfu_url=${_ppfu_url%@*}; -- cgit v1.2.3