usr_bin/iso-term: Fix a couple of shellcheck warnings
authorDarshaka Pathirana <dpat@syn-net.org>
Sun, 31 Jan 2021 09:03:59 +0000 (10:03 +0100)
committerDarshaka Pathirana <dpat@syn-net.org>
Fri, 3 Dec 2021 11:54:54 +0000 (12:54 +0100)
commit6f0b926f0885ead82fa4e43856f85825c245241e
tree8ef04229e9a34513b68950ebb4cda0126b211959
parente41ddb1a1f5abf996258b83ed5f1d12d0ee88da7
usr_bin/iso-term: Fix a couple of shellcheck warnings

- SC2006: Use $(..) instead of legacy `..`.
- SC2086: Double quote to prevent globbing and word splitting.
- SC2048: Use "$@" (with quotes) to prevent whitespace problems.
- SC2086: Double quote to prevent globbing and word splitting.

While at it also put the execution of x-terminal-emulator out of the
if-then-else clause to avoid duplicate code.
usr_bin/iso-term