]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116943: Ensure makesetup does not choke on missing EOL in Setup.* files (#139100)
authorErlend E. Aasland <erlend@python.org>
Thu, 18 Sep 2025 09:25:01 +0000 (10:25 +0100)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 09:25:01 +0000 (09:25 +0000)
Modules/makesetup

index f6cf695b457cbf6593d4076de65586ec45d65a0a..104c824b846540e31b7ac0a2f3612a3586445ebe 100755 (executable)
@@ -90,6 +90,7 @@ NL='\
 # Main loop
 for i in ${*-Setup}
 do
+       echo ''  # Add a linebreak so we don't choke on files missing EOL.
        case $i in
        -n)     echo '*noobjects*';;
        *)      echo '*doconfig*'; cat "$i";;