apache / openserverless

Apache OpenServerless (incubating)
https://openserverless.apache.org
Apache License 2.0
421 stars 14 forks source link

[TASK] setup devcluster --uninstall gives error on linux #48

Closed d4rkstar closed 3 months ago

d4rkstar commented 3 months ago

Hello, on Linux the ops setup devcluster --uninstall gives an error:

$ ops setup devcluster --uninstall                                                                                                                                                                                                                                                  [14:43:07]
"OPS": executable file not found in $PATH
ops: Failed to run task "devcluster": exit status 127
task execution error: ops: Failed to run task "devcluster": exit status 127

here my ops -info:

$ ops -info                                                                                                                                                                                                                                                                         [14:42:55]
OPS & OPS_CMD: /home/bruno/.local/bin/ops
OPS_VERSION: 0.1.0-2408111626.dev
OPS_BRANCH: 0.1.0
OPS_BIN: /home/bruno/.ops/linux-amd64/bin
OPS_TMP: /home/bruno/.ops/tmp
OPS_HOME: /home/bruno/.ops
OPS_ROOT: /home/bruno/.ops/0.1.0/olaris
OPS_REPO: http://github.com/apache/openserverless-task
OPS_PWD: /home/bruno/.ops
OPS_OLARIS: fc5ef7db11a1cc6b952e2ea40e7c1d738c93c09c
OPS_ROOT_PLUGIN: /home/bruno/.ops

It seems that inside setup task, an OPS command was not prefixed by the $ sign.