intermezzio / weffe

Add effects to a webcam in Linux for Zoom, Webex, or other calls, or stream a video to a webcam, including blurred background
https://intermezzio.me/weffe/
MIT License
125 stars 8 forks source link

Fix bash-specific constructs #9

Closed jpschewe closed 2 years ago

jpschewe commented 2 years ago

I just tried running weffe on Ubuntu where /bin/sh is a truly POSIX shell, not bash. The script fails to run because there are bash-specific constructs in it. I suggest either removing the bash-specific constructs "[[" can usually be replaced by "[" or specifying bash as the interpreter to use instead of sh.