We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc28b6 commit a59f963Copy full SHA for a59f963
1 file changed
PCbuild/prepare_ssl.py
@@ -115,6 +115,7 @@ def fix_makefile(makefile):
115
"""
116
if not os.path.isfile(makefile):
117
return
118
+ copy_if_different = r'$(PERL) $(SRC_D)\util\copy-if-different.pl'
119
with open(makefile) as fin:
120
lines = fin.readlines()
121
with open(makefile, 'w') as fout:
@@ -132,9 +133,8 @@ def fix_makefile(makefile):
132
133
if noalgo not in line:
134
line = line + noalgo
135
line = line + '\n'
- if r'$(SRC_D)\util\copy-if-different.pl' in line:
136
- line = line.replace(r'$(SRC_D)\util\copy-if-different.pl',
137
- 'copy /Y')
+ if copy_if_different in line:
+ line = line.replace(copy_if_different, 'copy /Y')
138
fout.write(line)
139
140
def run_configure(configure, do_script):
0 commit comments