~mil/sxmo-utils

ref: e428d0c4a450e66518c214c075bcaa11ad49d62a sxmo-utils/scripts/core/sxmo_terminal.sh -rwxr-xr-x 206 bytes
e428d0c4Stacy Harper Simplify the termmode detection 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env sh

# shellcheck disable=SC2086
set -- $TERMCMD "$@"

if [ -z "$*" ]; then
	echo "sxmo_terminal.sh called in TERMMODE without any arguments (returning, nothing to do)" >&2
else
	exec "$@"
fi