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
Post a Comment