@@ -10,7 +10,7 @@ need_curl() {
10
10
dnf install --setopt=install_weak_deps=False -y /usr/bin/curl
11
11
}
12
12
13
- get_custom_repo () {
13
+ get_custom_repos () {
14
14
if [[ -n $1 ]]; then
15
15
need_curl
16
16
for url in $1 ; do
55
55
}
56
56
57
57
get_samba_nightly_repo () {
58
- get_custom_repo " https://artifacts.ci.centos.org/samba/pkgs/master/${OS_BASE} /samba-nightly-master.repo"
58
+ get_custom_repos " https://artifacts.ci.centos.org/samba/pkgs/master/${OS_BASE} /samba-nightly-master.repo"
59
59
}
60
60
61
61
get_sig_samba_repo () {
@@ -93,7 +93,7 @@ if [[ "$1" =~ ^--.+$ ]]; then
93
93
case " $arg " in
94
94
--install-packages-from=* ) install_packages_from=" ${arg/* =/ } " ;;
95
95
--samba-version-suffix=* ) samba_version_suffix=" ${arg/* =/ } " ;;
96
- --install-custom-repo =* ) install_custom_repo =" ${arg/* =/ } " ;;
96
+ --install-custom-repos =* ) install_custom_repos =" ${arg/* =/ } " ;;
97
97
--package-selection=* ) package_selection=" ${arg/* =/ } " ;;
98
98
* )
99
99
echo " error: unexpected argument: ${arg} "
105
105
# legacy positional only
106
106
install_packages_from=" $1 "
107
107
samba_version_suffix=" $2 "
108
- install_custom_repo =" $3 "
108
+ install_custom_repos =" $3 "
109
109
package_selection=" $4 "
110
110
fi
111
111
@@ -126,12 +126,12 @@ case "${install_packages_from}" in
126
126
get_ceph_shaman_repo
127
127
package_selection=${package_selection:- devbuilds}
128
128
;;
129
- custom-repo )
130
- get_custom_repo " ${install_custom_repo } "
129
+ custom-repos )
130
+ get_custom_repos " ${install_custom_repos } "
131
131
package_selection=${package_selection:- custom}
132
132
;;
133
133
custom-devbuilds)
134
- get_custom_repo " ${install_custom_repo } "
134
+ get_custom_repos " ${install_custom_repos } "
135
135
get_ceph_shaman_repo
136
136
package_selection=${package_selection:- custom-devbuilds}
137
137
;;
0 commit comments