summaryrefslogtreecommitdiffstats
path: root/util/bin/naturalvoices.att
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-06 00:08:47 +0200
committerroot <root@krebs>2011-08-06 00:08:47 +0200
commitab50997c87ab4b55ca89a60b340a9f1d34e25fc3 (patch)
tree2542c9932dce7e311ab058f7a2c41f985f49e686 /util/bin/naturalvoices.att
parent06b25e5e0c592032d9152fed7763c2164074d162 (diff)
parentbf9faf4c3ccbdfb2def64726d07367fe656d4e9c (diff)
Merge branch 'master' of github.com:/krebscode/painload
Diffstat (limited to 'util/bin/naturalvoices.att')
-rwxr-xr-xutil/bin/naturalvoices.att4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/bin/naturalvoices.att b/util/bin/naturalvoices.att
index 656a2c5e..9a944d8b 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 \