Replies: 1 comment 3 replies
-
This is not about sh, the Adding |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a smal script that should use 'nvm use' to set the npm version before building some frontend.
I use
local_shell: /bin/bash
and also use a shebag
but the task runs into error:
[localhost] > /bin/sh -c /tmp/.spot-5237875189867584512/spot-script3544141793
[localhost] ! /tmp/.spot-5237875189867584512/spot-script3544141793: line 10: nvm: command not found
nvm is not availabe in sh, only bash and zsh.
Any idea why the script does not use bash from the shebag but sh?
Beta Was this translation helpful? Give feedback.
All reactions