Fix logic and tests

This commit is contained in:
Ivan Pozdeev 2024-12-06 02:47:55 +03:00
parent 0817e8a005
commit dc8f07c7ff
2 changed files with 3 additions and 3 deletions

View File

@ -1703,9 +1703,9 @@ use_homebrew_tcltk() {
# once fixed, it should be removed.
# if tcltk_ops_flag is in PYTHON_CONFIGURE_OPTS, use user provided tcltk
use_custom_tcltk() {
local tcl_tk_ops="$(get_tcltk_flag_from "$PYTHON_CONFIGURE_OPTS")"
local tcltk_ops="$(get_tcltk_flag_from "$PYTHON_CONFIGURE_OPTS")"
if [[ -z "$tcl_tk_ops" ]]; then
if [[ -z "$tcltk_ops" ]]; then
return 1
fi
local tcltk_ops_flag="--with-tcltk-libs="

View File

@ -739,7 +739,7 @@ OUT
for i in {1..10}; do stub uname '-s : echo Darwin'; done
for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done
for i in {1..5}; do stub brew false; done
for i in {1..6}; do stub brew false; done
stub_make_install
run_inline_definition <<DEF