aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/buildcommands.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-08-22 10:35:26 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-08-22 10:35:26 -0400
commit69fc1e63b4c240a2e8d36736b551140db8acc08b (patch)
tree884bf739368f4881440ab57add3a4e1b213f7d0a /scripts/buildcommands.py
parent1022729a2adbeeb985848e82bb07f7af4d079c06 (diff)
downloadkutter-69fc1e63b4c240a2e8d36736b551140db8acc08b.tar.gz
kutter-69fc1e63b4c240a2e8d36736b551140db8acc08b.tar.xz
kutter-69fc1e63b4c240a2e8d36736b551140db8acc08b.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'scripts/buildcommands.py')
-rw-r--r--scripts/buildcommands.py2
1 files changed, 1 insertions, 1 deletions
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