From c1fb8bcc96c83d27bdc32a2881969f88cc3ceb37 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 6 Aug 2011 00:14:09 +0200 Subject: util naturalvoices: enable symlink calls --- util/bin/naturalvoices.att | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') 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 \ -- cgit v1.2.3