summaryrefslogtreecommitdiffstats
path: root/util
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
commit30cac1c2ae0a35ebf1d61bdf074432ebc17c6254 (patch)
treecfcb888a4d2815a3f3b07145e94daa9f8c13c8a6 /util
parent971398ccbf7f2612193737dad2dfbd6873b5e6e5 (diff)
parentc1fb8bcc96c83d27bdc32a2881969f88cc3ceb37 (diff)
Merge branch 'master' of github.com:/krebscode/painload
Diffstat (limited to 'util')
-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 \