From 7fa1adbf79cd2757696a2e694f8ce7b935330fbf Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Feb 01 2017 02:00:14 +0000 Subject: subr/pkg_fetch.subr: correctly handle multiple arguments in pkgp_fetch_urls_git(). --- diff --git a/subr/pkg_fetch.subr b/subr/pkg_fetch.subr index f265375..beb76e6 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%@*};