Attention is currently required from: Andrei G.

osmith has posted comments on this change by Andrei G. ( 
https://gerrit.osmocom.org/c/osmo-iuh/+/43588?usp=email )

Change subject: build: rewrite generated includes without sed -i
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

Patchset:

PS1:
IMHO this makes the code much less readable. How about this approach:

Define a `SED_I` variable that is set to `sed -i` by default. Then check if 
running on mac os, and if that is the case, set the variable to `sed -i ''`. 
Use `$(SED_I)` instead of directly calling `sed -i` everywhere.

After reading through https://osxhub.com/sed-command-mac/#inplace that should 
probably do it, but as I don't use mac os I have of course not tested it.



--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/43588?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I6f803fcfb5dd81f0a0b2998b00622f6a19afc5da
Gerrit-Change-Number: 43588
Gerrit-PatchSet: 1
Gerrit-Owner: Andrei G <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: Andrei G <[email protected]>
Gerrit-Comment-Date: Wed, 09 Sep 2026 06:59:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

Reply via email to