git - Why am I getting ": No such file or directory" when trying to execute a bash script? -


i'm trying execute bash script (git-ftp) can't seem it. happens:

[trusktr@rocketship ~]$ ~/scripts/git-ftp : no such file or directory 

the file has permissions 755.

this contents of script: http://pastie.org/3567556

why getting error? can fix problem?

i have seen error if script has windows line endings instead of unix line endings. try running dos2unix on script , see if same error.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -