Skip to content

Commit 73e1788

Browse files
committed
Fix
1 parent a6bedd7 commit 73e1788

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/bisect/bisect_common.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def build_cppcheck(bisect_path):
3030

3131
pmPath = os.path.join(bisect_repo_dir, 'lib', 'programmemory.cpp')
3232
if os.path.isfile(pmPath):
33-
print('patching lib/programmmemory.cpp')
34-
subprocess.check_call(['sed', '-i', '1s/^/#include <limits> /', pmPath])
33+
print('patching lib/programmemory.cpp')
34+
subprocess.check_call(['sed', '-i', '1i #include <limits>', pmPath])
3535

3636
# TODO: older versions do not build because of include changes in libstdc++ - check compiler version and try to use an earlier one
3737
# TODO: make jobs configurable

0 commit comments

Comments
 (0)