@@ -177,6 +177,9 @@ _set_default_values() {
177177 # your patch file will be automatically fetched and loaded for those matching tags.
178178 qbt_patches_url=" ${qbt_patches_url:- userdocs/ qbittorrent-nox-static} "
179179
180+ # testing = easy way to switch to test qbt-musl-cross-make-test builds via an env in the workflow.
181+ qbt_mcm_url=" ${qbt_mcm_url:- userdocs/ qbt-musl-cross-make} "
182+
180183 # Default to this version of libtorrent is no tag or branch is specified. qbt_libtorrent_version=1.2 or -lt v1.2.18
181184 qbt_libtorrent_version=" ${qbt_libtorrent_version:- 2.0} "
182185
@@ -435,6 +438,7 @@ _print_env() {
435438 printf ' %b\n' " ${color_yellow_light} qbt_build_tool=\" ${color_green_light}${qbt_build_tool}${color_yellow_light} \" ${color_end} "
436439 printf ' %b\n' " ${color_yellow_light} qbt_cross_name=\" ${color_green_light}${qbt_cross_name}${color_yellow_light} \" ${color_end} "
437440 printf ' %b\n' " ${color_yellow_light} qbt_patches_url=\" ${color_green_light}${qbt_patches_url}${color_yellow_light} \" ${color_end} "
441+ printf ' %b\n' " ${color_yellow_light} qbt_mcm_url=\" ${color_green_light}${qbt_mcm_url}${color_yellow_light} \" ${color_end} "
438442 printf ' %b\n' " ${color_yellow_light} qbt_skip_icu=\" ${color_green_light}${qbt_skip_icu}${color_yellow_light} \" ${color_end} "
439443 printf ' %b\n' " ${color_yellow_light} qbt_boost_tag=\" ${color_green_light}${github_tag[boost]}${color_yellow_light} \" ${color_end} "
440444 printf ' %b\n' " ${color_yellow_light} qbt_libtorrent_tag=\" ${color_green_light}${github_tag[libtorrent]}${color_yellow_light} \" ${color_end} "
@@ -1775,8 +1779,8 @@ _multi_arch() {
17751779
17761780 if [[ " ${qbt_cross_target} " =~ ^(alpine)$ ]]; then
17771781 if [[ " ${1} " == ' bootstrap' || " ${qbt_cache_dir_options} " == " bs" || ! -f " ${qbt_cache_dir:- ${qbt_install_dir} } /${qbt_cross_host} .tar.gz" ]]; then
1778- printf ' \n%b\n' " ${unicode_blue_light_circle} Downloading ${color_magenta_light}${qbt_cross_host} .tar.gz${color_end} cross tool chain - ${color_cyan_light} https://github.com/userdocs/qbt-musl-cross-make /releases/latest/download/${qbt_mcm_toolchain_prefix} -${qbt_cross_host} .tar.xz${color_end} "
1779- _curl --create-dirs " https://github.com/userdocs/qbt-musl-cross-make /releases/latest/download/${qbt_mcm_toolchain_prefix} -${qbt_cross_host} .tar.xz" -o " ${qbt_cache_dir:- ${qbt_install_dir} } /${qbt_cross_host} .tar.gz"
1782+ printf ' \n%b\n' " ${unicode_blue_light_circle} Downloading ${color_magenta_light}${qbt_cross_host} .tar.gz${color_end} cross tool chain - ${color_cyan_light} https://github.com/${qbt_mcm_url} /releases/latest/download/${qbt_mcm_toolchain_prefix} -${qbt_cross_host} .tar.xz${color_end} "
1783+ _curl --create-dirs " https://github.com/${qbt_mcm_url} /releases/latest/download/${qbt_mcm_toolchain_prefix} -${qbt_cross_host} .tar.xz" -o " ${qbt_cache_dir:- ${qbt_install_dir} } /${qbt_cross_host} .tar.gz"
17801784 fi
17811785
17821786 if [[ -f " ${qbt_install_dir} /.active-toolchain-info" ]]; then
0 commit comments