gst-env: Fix shell name check
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 18 Dec 2019 21:15:44 +0000 (02:45 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 18 Dec 2019 21:15:44 +0000 (02:45 +0530)
commit245baadbce97279d7d8902769305c0fc10d5c2a6
tree8bdb974fa5721326dbcb4053f40b8c100e1a14d1
parente13e6758e343d8012a2b15a9621d02f57fcbab93
gst-env: Fix shell name check

We should use `endswith`, not `in`. Else we'll match paths like:

`/home/arbash/.local/bin/fish` as a bash shell, not a fish shell.
gst-env.py