darth-hp / yeelight-shell-scripts

Control Xiaomi Mi Yeelight (RGB) with bash scripts
Apache License 2.0
130 stars 23 forks source link

Run scripts from other folders #6

Closed thekix closed 6 years ago

thekix commented 6 years ago

If we run the scripts from other folder than the root folder of yeelight shell scripts, the yeelight-ips is not found (the script tries to find it in the current folder).

With this change, the yeelight-ips file is in the same folder than the .sh scripts, and the yeelight shell scripts always find it.