aboutsummaryrefslogtreecommitdiff
path: root/tools/cppmerge
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-13 17:12:03 +0800
committercrupest <crupest@outlook.com>2018-11-13 17:12:03 +0800
commit97c35edea2ca67a06ba66f124b94ea62f0519def (patch)
treec3b5fc6afeb4dad0de65212d1dae38940706a58a /tools/cppmerge
parente158fcb47ea6a7bd9172d0751e38265b61d6c88c (diff)
downloadcru-97c35edea2ca67a06ba66f124b94ea62f0519def.tar.gz
cru-97c35edea2ca67a06ba66f124b94ea62f0519def.tar.bz2
cru-97c35edea2ca67a06ba66f124b94ea62f0519def.zip
Update scripts.
Diffstat (limited to 'tools/cppmerge')
-rw-r--r--tools/cppmerge/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cppmerge/main.py b/tools/cppmerge/main.py
index 76966a47..6c73ff0d 100644
--- a/tools/cppmerge/main.py
+++ b/tools/cppmerge/main.py
@@ -133,6 +133,7 @@ output_source_file.write('#include "{}"\n'.format(os.path.basename(output_header
for source_path in source_file_list:
+ source_path = os.path.normpath(source_path)
output_source_file.write("//--------------------------------------------------------\n")
output_source_file.write("//-------begin of file: {}\n".format(source_path))
output_source_file.write("//--------------------------------------------------------\n")