]> git.ozlabs.org Git - petitboot/commitdiff
discover/grub2: Allow both delimiters and EOLs after a "then" reserved word
authorJeremy Kerr <jk@ozlabs.org>
Tue, 24 Sep 2013 05:55:57 +0000 (13:55 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 24 Sep 2013 05:55:57 +0000 (13:55 +0800)
Putting an if-statement on one line should be possible:

 if true; then echo "true"; else echo "false"; fi

To do this, we'll need to allow both EOLs and TOKEN_DELIM after then and
else.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found