diff options
Diffstat (limited to 'bin/msg')
-rwxr-xr-x | bin/msg | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -124,22 +124,22 @@ fi MESSAGE="${1:-}" if [ "$XMPP" = true ]; then - eval "$(assert-arg "$MESSAGE" '-X MESSAGE')" + eval "$(assert-arg -- "$MESSAGE" '-X MESSAGE')" xmpp -m "$MESSAGE" eu@euandre.org & fi if [ "$SOUND" = true ]; then sound & fi if [ "$SPEAK" = true ]; then - eval "$(assert-arg "$MESSAGE" '-S MESSAGE')" + eval "$(assert-arg -- "$MESSAGE" '-S MESSAGE')" echo "$MESSAGE" | speak -v pt-BR & fi if [ "$MAIL" = true ]; then - eval "$(assert-arg "$MESSAGE" '-m MESSAGE')" + eval "$(assert-arg -- "$MESSAGE" '-m MESSAGE')" echo " " | email -s "$MESSAGE" eu@euandre.org & fi if [ "$DESKTOP" = true ]; then - eval "$(assert-arg "$MESSAGE" '-D MESSAGE')" + eval "$(assert-arg -- "$MESSAGE" '-D MESSAGE')" if [ "$OK" = true ]; then notify-send -t 5000 "$MESSAGE" & else |