iye/lightsOn

Syntax Error After Cloning Repo

Opened this issue · 1 comments

I'm getting syntax error on line 52 after just cloning the repo and trying to run the script. Not familiar with Bash, but it says something about a redirect error.

$ sh lightsOn.sh 20
lightsOn.sh: 52: lightsOn.sh: Syntax error: redirection unexpected

Please try running it in Bash (e.g., ./lightsOn.sh or bash lightsOn.sh), per the #!/bin/bash shebang at the top of the file.