Makefile.ast could avoid sed's -i option
The sed in illumos-gate handles the -i option in a way similar to GNU sed following the integration of #586, but SmartOS reverted that change and has a BSD-style -i option to their sed.
Makefile.ast should avoid using
sed -i for broadest compatibility.
Updated by Andy Fiddaman almost 2 years ago
Tested by doing a full build and wsdiff to ensure the results are unchanged.
Also did a
dmake _feature in
usr/src/cmd/ast followed by a
git diff to check that the generated files are the same as before.
Dan McDonald also tested this on SmartOS, building illumos-joyent with this patch and confirmed success.
Updated by Electric Monk almost 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 44ce9f4b5e85893725f9e851530b585072ee8593 Author: Andy Fiddaman <email@example.com> Date: 2021-02-09T22:33:16.000Z 13492 Makefile.ast could avoid sed's -i option Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>