diff options
author | tv <tv@also> | 2011-08-06 00:14:09 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-08-06 00:14:09 +0200 |
commit | bb41569eae242e625256cc236f29eff85f4d13dc (patch) | |
tree | 12bcc6ce8a7a166fe4c86ed6b754eaa03696e5b2 /util | |
parent | f804b2b8551198c316702705245e8cc174883b87 (diff) |
util naturalvoices: enable symlink calls
Diffstat (limited to 'util')
-rwxr-xr-x | util/bin/naturalvoices.att | 4 |
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 \ |