summaryrefslogtreecommitdiffstats
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
commita22a7f66b99d76134b35d14a0ee96eea4b294400 (patch)
tree80310cb6cdbdfb62f5c6eb197587c7747fc37e7f
parentb7f3e74127aa55b6687cc30c0decf0f76791ddf4 (diff)
util naturalvoices: enable symlink calls
-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 \