From 69fc1e63b4c240a2e8d36736b551140db8acc08b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 22 Aug 2019 10:35:26 -0400 Subject: Makefile: Translate null characters to newline characters in ctr requests Store the CTR requests in compile_time_request.txt with the null characters removed. This makes it slightly easier to inspect the CTR conversions. Signed-off-by: Kevin O'Connor --- scripts/buildcommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/buildcommands.py') diff --git a/scripts/buildcommands.py b/scripts/buildcommands.py index 6ef5c80a..b74581de 100644 --- a/scripts/buildcommands.py +++ b/scripts/buildcommands.py @@ -603,7 +603,7 @@ def main(): f = open(incmdfile, 'rb') data = f.read() f.close() - for req in data.split('\0'): + for req in data.split('\n'): req = req.lstrip() if not req: continue -- cgit v1.2.3-70-g09d2