brcm63xx: fix syntax in platform.sh

Getting the following error when running sysupgrade via ubus:

TRACE -   2021-10-19 07:10:29.974012: '< {'
TRACE -   2021-10-19 07:10:29.974512: '< \t"code": 2,'
TRACE -   2021-10-19 07:10:29.975299: '< \t"stderr": "/sbin/sysupgrade: /lib/upgrade/platform.sh: line 17: syntax error: unexpected \\")\\"\\n"'
TRACE -   2021-10-19 07:10:29.975609: '< }'

Seems to be caused by a syntax error in the shell script, where unnecessary brackets have been introduced in a recent change. This MR fixes the syntax error.

Original code introduced by da09a8fb.

Edited by Roman Azarenko

Merge request reports

Loading