Closed ShaneMcC closed 1 year ago
When attempting to build for v3.18 using sudo rather than doas, the script fails with:
sudo
doas
/bin/sh: syntax error: unexpected "}"
This is because additional_os_configuration() generates an empty section:
additional_os_configuration()
write_log "Doing additional OS configuration" { }
Moving the write_log line inside the {} section resolves the problem.
write_log
{}
Yeah I'd missed this as I hadn't tested sudo for a while (Alpine prefers doas to sudo these days).
Fixed in the most recent PR merged.
When attempting to build for v3.18 using
sudo
rather thandoas
, the script fails with:This is because
additional_os_configuration()
generates an empty section:Moving the
write_log
line inside the{}
section resolves the problem.