underground-software / singularity

KDLP: Beyond the event horizon
https://kdlp.underground.software
GNU General Public License v3.0
0 stars 0 forks source link

Containerfiles: cleanup \ multi-line continuations to normalize last entry #36

Closed charliemirabile closed 6 months ago

charliemirabile commented 6 months ago

Places where we use \ to spread a command or string of commands across multiple lines should have a trailing line that does nothing so that all the real lines can look the same (i.e. all with \ or && ) so that future commit diffs can be tidy.

If you ever have to add something to the end of one of these improperly terminated lists, you will need to edit the previous last entry line and ruin its git blame with useless noise.

By creating this commit, I am creating such useless noise, but by doing it in a refactor commit that has no effect on behavior, I hope to help whoever comes across this while blaming to know they can skip it. This is not the commit you are looking for :)

Single commands whose arguments are spread can just have ; on the last line, and pipelines separated by && can be terminated by the : command which is a no-op.