charmedlabs / pixy2

Other
131 stars 98 forks source link

Fix line endings for script so it can run on Linux #2

Closed crazyquark closed 5 years ago

crazyquark commented 5 years ago

The buildpixymon.sh script fails to run(I am running Linux Mint 19 Tara and use zsh as my main shell) because the CRLF line endings confuse bash. The error you get is: ./build_pixymon_src.sh: ./buildpixymon.sh: /bin/bash^M: bad interpreter: No such file or directory

I simply converted the line endings on this file. This can be done for example with dos2unix.

richlegrand commented 5 years ago

Hi crazyquark, thanks for the heads-up. We just fixed and checked in.

thanks!

crazyquark commented 5 years ago

You're welcome :)