1 decade ago by stahlmanDesign
I had this error when navigating to the /tools folder and typing ./bake.sh in the OS X terminal
iMac:tools myname$ ./bake.sh
-bash: ./bake.sh: /bin/bash^M: bad interpreter: No such file or directory
I read this post about linux encoding.
I opened the bake.sh file in BBEdit and changed the line endings to linux instead of Windows and then it worked.
iMac:tools myname$ ./bake.sh
-bash: ./bake.sh: /bin/bash^M: bad interpreter: No such file or directory
I read this post about linux encoding.
I opened the bake.sh file in BBEdit and changed the line endings to linux instead of Windows and then it worked.