adlogix / docker-machine-nfs

Activates NFS on docker-machine
MIT License
794 stars 104 forks source link

Shebang says sh, but gives a syntax error #49

Closed frankcarey closed 6 years ago

frankcarey commented 8 years ago

I'm testing this on ubuntu 14.04 (I know.. not OSX.. but I'm trying to setup machine to standardize setups across linux and OSX), but running the command gives an syntax error of :

130: /usr/local/bin/docker-machine-nfs: Syntax error: "(" unexpected (expecting "}")

.. which is related to the creation of an empty bash array.

Is there a reason to not use /bin/bash instead, which resolves this specific issue?

tylers-username commented 7 years ago

This does depend on bash. I get this error when using zsh.

tonivdv commented 7 years ago

Hey @frankcarey ,

It works with bash. Check https://github.com/adlogix/docker-machine-nfs/issues/75

Cheers