Merge branch 'master' of git+ssh://github.com/adefaria/clearscm
[clearscm.git] / lib / Speak.pm
index 3a01ba1..9cb9441 100644 (file)
@@ -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\"";