summaryrefslogtreecommitdiff
path: root/mkosi.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-22 16:11:41 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-10-22 16:15:46 -0400
commitfb4650aa346a57da3d20525ca2a3124099a1a307 (patch)
treece7365ba81a89f676a3435138340fe24b6ea546c /mkosi.build
parentd7f69e16f1a5b84e9acf1771a9b53da3787ae79d (diff)
tree-wide: use startswith return value to avoid hardcoded offset
I think it's an antipattern to have to count the number of bytes in the prefix by hand. We should do this automatically to avoid wasting programmer time, and possible errors. I didn't any offsets that were wrong, so this change is mostly to make future development easier.
Diffstat (limited to 'mkosi.build')
0 files changed, 0 insertions, 0 deletions