X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=lib%2FSpeak.pm;h=9cb944177452dbeb7714ecdfd60e83b1f7cebe30;hb=7ddf095f187ca60d9a70fb83b2bc3c2b6d91f088;hp=3a01ba121ed6202c8b4f924a013e129680332656;hpb=44aaba558b2244c52c99d5a4bc50cae05c4ed514;p=clearscm.git diff --git a/lib/Speak.pm b/lib/Speak.pm index 3a01ba1..9cb9441 100644 --- a/lib/Speak.pm +++ b/lib/Speak.pm @@ -126,12 +126,8 @@ Returns: # Log message to log file if $log was passed in. $log->msg($msg); - # Quote the message #$msg = quotemeta $msg; - - # Change some characters that mess up speech - $msg =~ s#\"#\\"#g; - $msg =~ s#\$#\\\$#g; + $msg =~ s/\$/\\\$/g; my ($status, @output) = Execute "/usr/local/bin/gt \"$msg\"";