minor syntax fix, quote var

master
Maarten van Gompel 3 years ago
parent 829f8241c7
commit 1ca8672473
  1. 2
      scripts/modem/sxmo_modemcall.sh

@ -187,7 +187,7 @@ incallmenuloop() {
cut -d'^' -f1 |
sed '/^[[:space:]]*$/d' |
awk '{$1=$1};1' | #this cryptic statement trims leading/trailing whitespace from a string
dmenu --index $DMENUIDX "$([ "$WINDOWIFIED" = 0 ] && echo "" || echo "-wm")" -p "$NUMBER" |
dmenu --index "$DMENUIDX" "$([ "$WINDOWIFIED" != 0 ] && echo "" || echo "-wm")" -p "$NUMBER" |
(
PICKED="$(cat)";
echo "sxmo_modemcall: Picked is $PICKED">&2

Loading…
Cancel
Save