correct variable name for incoming text number used in sms hook

This commit is contained in:
Sam Bowlby 2020-08-29 03:24:31 -05:00 committed by Miles Alan
parent a211d82939
commit 93de0d4d84

View file

@ -119,7 +119,7 @@ checkfornewtexts() {
"Message - $(sxmo_contacts.sh | grep -E "^$NUM:"): $TEXT"
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
done
}