~mil/sxmo-utils

6dc18e22a317d3b5a9c66fc92479f93c24ecefd7 — Maarten van Gompel 7 months ago f9b96d2
fixed minor shellcheck issues
2 files changed, 2 insertions(+), 1 deletions(-)

M scripts/core/sxmo_contactmenu.sh
M scripts/modem/sxmo_modemtext.sh
M scripts/core/sxmo_contactmenu.sh => scripts/core/sxmo_contactmenu.sh +1 -0
@@ 52,6 52,7 @@ editcontactnumber() {
deletecontact() {
	name="$(echo "$1" | cut -d"	" -f2)"

	# shellcheck disable=SC2059
	ENTRIES="$(printf "$icon_cls No\n$icon_chk Yes")"
	PICKED="$(
		echo "$ENTRIES" |

M scripts/modem/sxmo_modemtext.sh => scripts/modem/sxmo_modemtext.sh +1 -1
@@ 74,7 74,7 @@ sendtextmenu() {
			menu dmenu -c -idx 1 -p "Confirm" -l 10
		)"
		if echo "$CONFIRM" | grep -q "Send"; then
			(cat "$DRAFT" | sxmo_modemsendsms.sh "$NUMBER" -) && \
			(sxmo_modemsendsms.sh "$NUMBER" - < "$DRAFT") && \
			rm "$DRAFT" && \
			echo "Sent text to $NUMBER">&2 && exit 0
		elif echo "$CONFIRM" | grep -q "Edit"; then