summaryrefslogtreecommitdiffstats
path: root/util/bin
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
commitede4ce5bd2f272afbf0ff278bdaf816ce3b51abf (patch)
treed7e3bdcbe0bad744249a565b364712c14c8ecd45 /util/bin
parentc22ae34b0183f63d2f319ff6a0b071efe73550c2 (diff)
parenta22a7f66b99d76134b35d14a0ee96eea4b294400 (diff)
Merge branch 'master' of github.com:/krebscode/painload
Diffstat (limited to 'util/bin')
-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 \