projtool.pl: add missing nested braces
commit2584b9d4f2c5b278d19bb86b91eb92da1795aaed
authorKyle J. McKay <mackyle@gmail.com>
Wed, 4 Aug 2021 04:06:12 +0000 (3 21:06 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 4 Aug 2021 04:06:12 +0000 (3 21:06 -0700)
tree5133023b6b45a9f7f603f7b4c1fa4f4fd703c235
parentfa4fd368d2aa9df0157238d45144d25d648f25df
projtool.pl: add missing nested braces

The "redo" statement requires an actual block; a bunch of statements
grouped in a pair of braces ('{'...'}') as part of a conditional
does not qualify.

Add the necessary extra pair of braces to make the bodies of these
conditionals that use `redo` actually be able to `redo`.

This was previously handled properly, but when some new options
were added the extra pair of braces was overlooked for them.

Add them now to correct the problem.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/projtool.pl