summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-01 02:00:14 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-02-01 02:00:14 +0000
commit7fa1adbf79cd2757696a2e694f8ce7b935330fbf (patch)
tree5f69364109f48ddd994099c831bc92c5a14d9c60 /subr
parentaca655797ec6d4e63fb38d5ef86ebe165ecc3616 (diff)
downloadmidipix_build-7fa1adbf79cd2757696a2e694f8ce7b935330fbf.tar.bz2
midipix_build-7fa1adbf79cd2757696a2e694f8ce7b935330fbf.tar.xz
subr/pkg_fetch.subr: correctly handle multiple arguments in pkgp_fetch_urls_git().
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_fetch.subr2
1 files changed, 1 insertions, 1 deletions
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%@*};