You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run apt-cyg, no matter what arguments i give, it returns this:
/usr/bin/apt-cyg: line 25: $'\r': command not found
/usr/bin/apt-cyg: line 121: syntax error near unexpected token $'{\r'' 'usr/bin/apt-cyg: line 121: function wget {
line 25 doesn't even have any code in it.
The text was updated successfully, but these errors were encountered:
This happens when you use a git installation on Windows to clone this repository. Then CRLF line endings are automatically added to files, although bash doesn't like these (\r stands for "Carriage return") and is not used in Unix sytems or cygwin. Just install dos2unix in cygwin and do "dos2unix apt-get" to change Windows line feeds to Unix ones.
thanks
-------- Original message --------From: Alex ***@***.***> Date: 01/02/2022 13:36 (GMT+03:30) To: transcode-open/apt-cyg ***@***.***> Cc: Mahdi Abedini ***@***.***>, Author ***@***.***> Subject: Re: [transcode-open/apt-cyg] Errors when i run apt-cyg command (#138)
This happens when you use a git installation on Windows to clone this repository. Then CRLF line endings are automatically added to files, although bash doesn't like these (\r stands for "Carriage return") and is not used in Unix sytems or cygwin. Just install dos2unix in cygwin and do "dos2unix apt-get" to change Windows line feeds to Unix ones.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
When i run apt-cyg, no matter what arguments i give, it returns this:
/usr/bin/apt-cyg: line 25: $'\r': command not found
/usr/bin/apt-cyg: line 121: syntax error near unexpected token
$'{\r'' 'usr/bin/apt-cyg: line 121:
function wget {line 25 doesn't even have any code in it.
The text was updated successfully, but these errors were encountered: