Closed dopiks closed 6 years ago
./yeelight-scene.sh 0 On ./yeelight.sh: 3: ./yeelight.sh: Syntax error: "(" unexpected
#!/bin/sh declare -a ID=(192.168.1.29 192.168.1.80)
#!/bin/sh
declare -a ID=(192.168.1.29 192.168.1.80)
sh is not bash )
You are right. bash is default for me. Don't know if zsh or ksh can't handle this also
fixed
./yeelight-scene.sh 0 On ./yeelight.sh: 3: ./yeelight.sh: Syntax error: "(" unexpected
#!/bin/sh
declare -a ID=(192.168.1.29 192.168.1.80)