Another POSIX fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11447 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a895738b60
commit
519461c764
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/dash
|
||||||
# __________ __ ___.
|
# __________ __ ___.
|
||||||
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
@ -249,7 +249,7 @@ voice() {
|
||||||
TO_SPEAK=$1
|
TO_SPEAK=$1
|
||||||
WAV_FILE=$2
|
WAV_FILE=$2
|
||||||
if [ ! -f "$WAV_FILE" ] || [ X$OVERWRITE_WAV = XY ]; then
|
if [ ! -f "$WAV_FILE" ] || [ X$OVERWRITE_WAV = XY ]; then
|
||||||
if [ "${TO_SPEAK}" == "" ]; then
|
if [ "${TO_SPEAK}" = "" ]; then
|
||||||
touch "$WAV_FILE"
|
touch "$WAV_FILE"
|
||||||
else
|
else
|
||||||
case $TTS_ENGINE in
|
case $TTS_ENGINE in
|
||||||
|
|
Loading…
Reference in a new issue