Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_fw_rpi.sh -- syntax error line 29 #148

Open
ghost opened this issue Jan 25, 2022 · 0 comments
Open

install_fw_rpi.sh -- syntax error line 29 #148

ghost opened this issue Jan 25, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 25, 2022

The script command on line 29 throws a syntax error. The IF check is "=" rather than "==" for the string compare.

Current command:

Download latest firmware

if [ $1 = "beta" ]; then

Should be:

if [ $1 == "beta" ]; then

--
Found this while attempting to update an older ZUMSPOT MMDVM board's firmware. Manually updated the script and was able to get a successful firmware update with that minor change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants