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
commitbb41569eae242e625256cc236f29eff85f4d13dc (patch)
tree12bcc6ce8a7a166fe4c86ed6b754eaa03696e5b2
parentf804b2b8551198c316702705245e8cc174883b87 (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 \