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 | a22a7f66b99d76134b35d14a0ee96eea4b294400 (patch) | |
tree | 80310cb6cdbdfb62f5c6eb197587c7747fc37e7f /util/bin | |
parent | b7f3e74127aa55b6687cc30c0decf0f76791ddf4 (diff) |
util naturalvoices: enable symlink calls
Diffstat (limited to 'util/bin')
-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 \ |