]> granicus.if.org Git - python/commitdiff
Fixed a newline problem
authorChristian Heimes <christian@cheimes.de>
Sat, 24 Nov 2007 01:52:19 +0000 (01:52 +0000)
committerChristian Heimes <christian@cheimes.de>
Sat, 24 Nov 2007 01:52:19 +0000 (01:52 +0000)
PCbuild9/build_ssl.py

index db73e24333640c6770f8da7cde0d470a4ddb0064..2ccceec0804247a787ddd835c2bdc9b459d838bd 100644 (file)
@@ -132,10 +132,12 @@ def fix_makefile(makefile):
             if line.startswith("MKDIR="):
                 line = "MKDIR=mkdir\n"
             if line.startswith("CFLAG="):
+                line = line.strip()
                 for algo in ("RC5", "MDC2", "IDEA"):
                     noalgo = " -DOPENSSL_NO_%s" % algo
                     if noalgo not in line:
                         line = line + noalgo
+                line = line + '\n'
             fout.write(line)
 
 def run_configure(configure, do_script):