• Michał Górny's avatar
    closes bpo-22140: Prevent double substitution of prefix in python-config.sh (#3769) · 14086cfc
    Michał Górny yazdı
    Fix the logic in python-config.sh to avoid attempting to substitute
    prefix in a variable that might have already been subject to
    substitution. This e.g. happened if @exec_prefix@ was defined as
    "${prefix}" (which is the default of the configure script) -- in which
    case the exec_prefix_build variable was initialized with
    already-subtituted prefix, and then another round of substitution was
    performed which might have resulted in duplicate prefix.
    
    To avoid that, rename the variables so that the variables matching
    likely configure names (prefix, exec_prefix) retain their original
    values and a '_real' suffix is used for the real values of prefix.
    
    Furthermore, replace the unnecessary prefix and exec_prefix
    substitutions with direct prefix_real references since the sed
    always replaced the whole string anyway by design.
    14086cfc
Adı
Son kayıt (commit)
Son güncelleme
.github Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...