summaryrefslogtreecommitdiffstats
path: root/util/bin
diff options
context:
space:
mode:
authortv <tv@also>2011-08-06 00:14:09 +0200
committertv <tv@also>2011-08-06 00:14:09 +0200
commitc1fb8bcc96c83d27bdc32a2881969f88cc3ceb37 (patch)
tree862a5aef921f3448ce6215f0e4dfcaf8ef676e0e /util/bin
parentbe437cb12952fd4452efe74c0be7431fb3724104 (diff)
util naturalvoices: enable symlink calls
Diffstat (limited to 'util/bin')
-rwxr-xr-xutil/bin/naturalvoices.att4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/bin/naturalvoices.att b/util/bin/naturalvoices.att
index e329694f..7955db63 100755
--- a/util/bin/naturalvoices.att
+++ b/util/bin/naturalvoices.att
@@ -5,6 +5,10 @@ A=Mozilla
baseURL="http://192.20.225.36"
url="$baseURL/tts/cgi-bin/nph-talk"
+if test -h "$0"; then
+ voice="${voice-"`basename "$0"`"}"
+fi
+
pwd="$(dirname "$(readlink -f "$0")")"
for x in \