summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJonas Häggqvist <rasher@rasher.dk>2006-11-06 11:19:14 +0000
committerJonas Häggqvist <rasher@rasher.dk>2006-11-06 11:19:14 +0000
commit519461c7640656cce36eb2819041620c993a9d71 (patch)
tree9e25907833063bc3529776f56fbfe6e563e2a279 /tools
parenta895738b603be6002dc2a4e805008f695f2c3d91 (diff)
downloadrockbox-519461c7640656cce36eb2819041620c993a9d71.zip
rockbox-519461c7640656cce36eb2819041620c993a9d71.tar.gz
rockbox-519461c7640656cce36eb2819041620c993a9d71.tar.bz2
rockbox-519461c7640656cce36eb2819041620c993a9d71.tar.xz
Another POSIX fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11447 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/voicecommon.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/voicecommon.sh b/tools/voicecommon.sh
index d6759d8..9af7038 100644
--- a/tools/voicecommon.sh
+++ b/tools/voicecommon.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/dash
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
@@ -249,7 +249,7 @@ voice() {
TO_SPEAK=$1
WAV_FILE=$2
if [ ! -f "$WAV_FILE" ] || [ X$OVERWRITE_WAV = XY ]; then
- if [ "${TO_SPEAK}" == "" ]; then
+ if [ "${TO_SPEAK}" = "" ]; then
touch "$WAV_FILE"
else
case $TTS_ENGINE in