mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Make say configurable to be able to use "espeak -v de".
This commit is contained in:
parent
097ad732e1
commit
a52da27641
1 changed files with 9 additions and 3 deletions
|
@ -42,8 +42,8 @@ function waitForKubectl
|
|||
end
|
||||
|
||||
function output
|
||||
if which say > /dev/null
|
||||
say $argv[1] > /dev/null ^ /dev/null
|
||||
if test -n "$SAY"
|
||||
eval $SAY $argv[1] > /dev/null ^ /dev/null
|
||||
end
|
||||
echo
|
||||
for l in $argv[2..-1] ; echo $l ; end
|
||||
|
@ -117,5 +117,11 @@ end
|
|||
|
||||
if test -z "$TIMEOUT"
|
||||
set -xg TIMEOUT 60
|
||||
echo Base timeout set to 60 seconds, adjust TIMEOUT to change.
|
||||
end
|
||||
|
||||
if test -z "$SAY"
|
||||
if which say > /dev/null
|
||||
set -xg SAY say
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue