os-k/build/idttool.py

15 lines
239 B
Python
Raw Normal View History

2019-01-02 16:27:12 +01:00
# don't mind this file
2019-01-15 14:18:56 +01:00
f1 = open("build/Makefile.out", "r+")
f2 = open("build/Makefile.out.2", "w+")
2019-01-02 16:27:12 +01:00
fl = f1.readlines()
for ln in fl:
if ln[0] == ' ' and ln[1] != ' ':
f2.write('\t')
f2.write(ln)
f1.close()
f2.close()