boot2docker ssh apache-kylin windows7 source ambari-functions ambari-functions ERROR : line 11: syntax error: bad function name

222 views Asked by At

Here is my script (boot2docker ssh).

docker pull sequenceiq/kylin
curl -O https://raw.githubusercontent.com/sequenceiq/docker-kylin/master/ambari-functions
source ambari-functions

And the returned error :

-sh: ambari-functions: line 11: syntax error: bad function name
1

There are 1 answers

0
user5053274 On BEST ANSWER

ambari-functions rename run-command to run_command rename amb-clean to amb_clean etc