blob: c1e34ed6ce7021dca1a50248a893db28c704de84 [file] [log] [blame]
#!/usr/bin/env python3
import sys
ifile = sys.argv[1]
ofile = sys.argv[2]
with open(ifile, 'r') as f:
resname = f.readline().strip()
templ = 'const char %s[] = "%s";\n'
with open(ofile, 'w') as f:
f.write(templ % (resname, resname))