• 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
..
NEWS.d Loading commit data...
ACKS Loading commit data...
HISTORY Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.AIX Loading commit data...
README.coverity Loading commit data...
README.valgrind Loading commit data...
SpecialBuilds.txt Loading commit data...
coverity_model.c Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
python-config.in Loading commit data...
python-config.sh.in Loading commit data...
python-wing3.wpr Loading commit data...
python-wing4.wpr Loading commit data...
python-wing5.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
svnmap.txt Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...