bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
918 stars 100 forks source link

Bad interpreter: /bin/bash^M on raspberry pi OS #690

Closed alandmoore closed 2 years ago

alandmoore commented 2 years ago

Downloaded 4.21 from github to raspberry PI OS on Raspberry PI 4. When I try to execute run.sh I get the following error:

/bin/bash^M:  bad interpreter: No such file or directory

Problem seems to stem from using CRLF line-endings in the file. Presumably other Linux distros would have similar issues.

Changing to regular unix line endings corrected the problem.

bancika commented 2 years ago

Thanks. I will fix the release soon...

On Mon, Feb 21, 2022, 17:34 Alan D Moore @.***> wrote:

Downloaded 4.21 from github to raspberry PI OS on Raspberry PI 4. When I try to execute run.sh I get the following error:

/bin/bash^M: bad interpreter: No such file or directory

Problem seems to stem from using CRLF line-endings in the file. Presumably other Linux distros would have similar issues.

Changing to regular unix line endings corrected the problem.

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCNQJF52N63U2S56F5LU4JSQTANCNFSM5O7COBWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

bancika commented 2 years ago

Please try again

On Mon, Feb 21, 2022 at 5:39 PM Branislav Stojkovic @.***> wrote:

Thanks. I will fix the release soon...

On Mon, Feb 21, 2022, 17:34 Alan D Moore @.***> wrote:

Downloaded 4.21 from github to raspberry PI OS on Raspberry PI 4. When I try to execute run.sh I get the following error:

/bin/bash^M: bad interpreter: No such file or directory

Problem seems to stem from using CRLF line-endings in the file. Presumably other Linux distros would have similar issues.

Changing to regular unix line endings corrected the problem.

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCNQJF52N63U2S56F5LU4JSQTANCNFSM5O7COBWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Branislav Stojkovic www.diy-fever.com

alandmoore commented 2 years ago

Fixed! Thank you!