correct variable name for incoming text number used in sms hook

master
Sam Bowlby 4 years ago committed by Miles Alan
parent a211d82939
commit 93de0d4d84
  1. 2
      scripts/modem/sxmo_modemmonitor.sh

@ -119,7 +119,7 @@ checkfornewtexts() {
"Message - $(sxmo_contacts.sh | grep -E "^$NUM:"): $TEXT" "Message - $(sxmo_contacts.sh | grep -E "^$NUM:"): $TEXT"
if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/sms" ]; then if [ -x "$XDG_CONFIG_HOME/sxmo/hooks/sms" ]; then
"$XDG_CONFIG_HOME/sxmo/hooks/sms" "$(sxmo_contacts.sh | grep -E "^$INCOMINGNUMBER")" "$TEXT" "$XDG_CONFIG_HOME/sxmo/hooks/sms" "$(sxmo_contacts.sh | grep -E "^$NUM")" "$TEXT"
fi fi
done done
} }

Loading…
Cancel
Save