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
commit7c168fc1e3127411372a3a3d25a77982346aba69 (patch)
treedab8767e1fac8eaff79a5a9da75fd34f3f004105 /util
parentb73a55f2a126e407d0e8c8f1509e0c600a28fc2f (diff)
parentbb41569eae242e625256cc236f29eff85f4d13dc (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 \