File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -939,11 +939,11 @@ def get_var(file, varname):
939939 result = p .communicate ()[0 ]
940940 return result
941941
942- tcl_lib_dir = get_var (tcl_config , 'TCL_LIB_SPEC' ).split ()[0 ][2 :]
943- tcl_inc_dir = get_var (tcl_config , 'TCL_INCLUDE_SPEC' )[2 :]
942+ tcl_lib_dir = get_var (tcl_config , 'TCL_LIB_SPEC' ).split ()[0 ][2 :]. strip ()
943+ tcl_inc_dir = get_var (tcl_config , 'TCL_INCLUDE_SPEC' )[2 :]. strip ()
944944 tcl_lib = get_var (tcl_config , 'TCL_LIB_FLAG' )[2 :].strip ()
945945
946- tk_lib_dir = get_var (tk_config , 'TK_LIB_SPEC' ).split ()[0 ][2 :]
946+ tk_lib_dir = get_var (tk_config , 'TK_LIB_SPEC' ).split ()[0 ][2 :]. strip ()
947947 tk_inc_dir = get_var (tk_config , 'TK_INCLUDE_SPEC' ).strip ()
948948 if tk_inc_dir == '' :
949949 tk_inc_dir = tcl_inc_dir
You can’t perform that action at this time.
0 commit comments