From bf9faf4c3ccbdfb2def64726d07367fe656d4e9c 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/bin/naturalvoices.att') 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