MEN-Mikro-Elektronik / 13MD05-90

MDIS5 System Package for Linux (including drivers)
Other
4 stars 4 forks source link

Pull Request for fixing the awk warnings during the MDIS compation with gawk version >= 5.0.0 #261

Closed mad-jrodriguez closed 1 year ago

mad-jrodriguez commented 1 year ago

As reported in #258 it seems to be some incompatibilities with gawk for versions >= 5.0.0. as the scape character # (and others) is not supported.

The newer Linux distributions ship gawk binaries with versions greater than 5.0.0 so we have decided to replace the awk command with a sed command that works in the same way.

We have tested the new sed command in the following Linux distributions:

And in all of them the command works properly and MDIS is compiled properly as well.