rricharz / Tek4010

Free Tektronix 4010, 4013, 4014 and 4015 terminal emulator for Raspberry Pi, Linux, macOS (Macintosh) and Windows
GNU General Public License v3.0
244 stars 29 forks source link

Make sed line FreeBSD compatible #46

Closed tvrusso closed 5 months ago

tvrusso commented 5 months ago

The recent addition of help.h to the build uses a sed command that is apparently incompatible with FreeBSD's sed. It pukes with complaints about the use of "$$" and the a command.

Since the entire purpose of this part of the sed command is to add a semicolon at the end of the help string, I have replaced it with a simple echo of ";" appended to help.h.

This PR is offered as an alternative, even more portable approach than #45. The approach there only works with GNU Make and fails with BSD Make.