projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Speak'
[clearscm.git]
/
lib
/
Speak.pm
diff --git
a/lib/Speak.pm
b/lib/Speak.pm
index
c98feca
..
3a01ba1
100644
(file)
--- a/
lib/Speak.pm
+++ b/
lib/Speak.pm
@@
-126,6
+126,13
@@
Returns:
# Log message to log file if $log was passed in.
$log->msg($msg);
# 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;
+
my ($status, @output) = Execute "/usr/local/bin/gt \"$msg\"";
if ($status) {
my ($status, @output) = Execute "/usr/local/bin/gt \"$msg\"";
if ($status) {