mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.35k stars 491 forks source link

Allow setup without shared folders/files #537

Closed coreyworrell closed 3 years ago

coreyworrell commented 7 years ago

When setting shared folders/files to an empty array, or not setting the variables at all, mina setup will fail with the following:

$ mina setup
-----> Setting up /some/directory/
       bash: -c: line 4: syntax error near unexpected token `&&'
       bash: -c: line 4: `(cd /some/directory/shared &&  && cd -)'
       Connection to hostname.tld closed.

 !     Run Error
pudiva commented 7 years ago

+1

coreyworrell commented 6 years ago

Reference to pull request: #548

lovro-bikic commented 3 years ago

This bug was fixed with https://github.com/mina-deploy/mina/pull/592, which was released in v1.2.3.