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 | bf9faf4c3ccbdfb2def64726d07367fe656d4e9c (patch) | |
tree | 1d811eda03439952d2db900e17d4dab36e913218 | |
parent | 9765cb12a335231bae6e1eee04f79b8c8d82ecb2 (diff) |
util naturalvoices: enable symlink calls
-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 \ |