makechips.sh: Clean up shellcheck errors and formatting

Clean up shellcheck errors
Add braces around variable names > 1 character

Signed-off-by: Martin Roth <gaumless@gmail.com>
1 file changed