From 4362eacde23c0ccc0b701345a1eae8c3c4edcae4 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Thu, 30 Jul 2020 19:39:20 -0500 Subject: [PATCH] sxmo_modemtext.sh - use variable name $CONTACT rather then $TDIR --- scripts/modem/sxmo_modemtext.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/modem/sxmo_modemtext.sh b/scripts/modem/sxmo_modemtext.sh index 7252e4e..3c0165d 100755 --- a/scripts/modem/sxmo_modemtext.sh +++ b/scripts/modem/sxmo_modemtext.sh @@ -96,9 +96,9 @@ main() { # E.g. only display logfiles for directories that exist and join w contact name ENTRIES="$( printf %b "Close Menu\nSend a Text\n"; - sxmo_contacts.sh | while read -r TDIR; do - [ -d "$LOGDIR"/"$(printf %b "$TDIR" | cut -d: -f1)" ] || continue - printf %b "$TDIR" | xargs -IL echo "L logfile" + sxmo_contacts.sh | while read -r CONTACT; do + [ -d "$LOGDIR"/"$(printf %b "$CONTACT" | cut -d: -f1)" ] || continue + printf %b "$CONTACT" | xargs -IL echo "L logfile" done )" CONTACTIDANDNUM="$(printf %b "$ENTRIES" | menu dmenu -p Texts -c -fn Terminus-20 -l 10 -i)"