xanderdin / LibreCAD_dxf2pdf_standalone

Standalone extracted version of LibreCAD's dxf2pdf tool that could be run without running X server.
GNU General Public License v2.0
11 stars 2 forks source link

Fixed sed issue in prepare.sh on MacOS #4

Closed xanderdin closed 5 years ago

xanderdin commented 5 years ago

Sed with -i option on MacOS works different from that on Linux and fails with 'invalid command code .' error. More related info:

https://stackoverflow.com/questions/19456518/invalid-command-code-despite-escaping-periods-using-sed https://unix.stackexchange.com/questions/13711/differences-between-sed-on-mac-osx-and-other-standard-sed

I applied solution from this:

https://unix.stackexchange.com/a/381201