View Single Post
  #10  
Old 07-08-2012, 05:08 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: Embeding rtmp into my wordpress


Quote:
Originally Posted by megalivestream
i ran the scrupt by it self and this is what i got

$ ./rtmp.sh
./rtmp.sh: line 5: $'\r': command not found
./rtmp.sh: line 6: syntax error near unexpected token `$'{\r''
'/rtmp.sh: line 6: `pid(){
Cygwin uses LF (\n) for line endings. If you have copy pasted the script into a text editor that uses CRLF (\r\n) line endings then Cygwin interprets the \r as a command. This can be fixed by actually downloading the script, or using a text editor with LF (\n) line endings.
Reply With Quote