summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/voice.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 22a98c1..dbbebd1 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -225,7 +225,7 @@ sub voicestring {
}
case "espeak" {
# xxx: $tts_engine_opts isn't used
- $cmd = "espeak $tts_engine_opts -w $output";
+ $cmd = "espeak $tts_engine_opts -w \"$output\"";
print("> $cmd\n") if $verbose;
open(ESPEAK, "| $cmd");
print ESPEAK $string . "\n";