[PATCH] [neqn]: Fix sed order for neqn script
RocketDev <[email protected]> Tue, 3 Mar 2026 19:01:34 +0800
| Newsgroups | gmane.comp.printing.groff.general |
|---|---|
| Message-ID | <[email protected]> |
-f $(SH_DEPS_SED_SCRIPT) should be placed in the front so that it will not impact later expression. This patch fix sed command to strip @g@ from neqn.sh correctly. Probably because of the /^$/N in shdeps.sed. This patch fixes bug #68115. Signed-off-by: RocketDev <[email protected]> --- src/preproc/eqn/eqn.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/preproc/eqn/eqn.am b/src/preproc/eqn/eqn.am index 5c835620f..aa71a6dad 100644 --- a/src/preproc/eqn/eqn.am +++ b/src/preproc/eqn/eqn.am @@ -63,8 +63,8 @@ MAINTAINERCLEANFILES += \ src/preproc/eqn/eqn.output neqn: $(top_srcdir)/src/preproc/eqn/neqn.sh $(SH_DEPS_SED_SCRIPT) - $(AM_V_GEN)sed -e 's/[@]g[@]/$(g)/g' \ - -f $(SH_DEPS_SED_SCRIPT) \ + $(AM_V_GEN)sed -f $(SH_DEPS_SED_SCRIPT) \ + -e 's/[@]g[@]/$(g)/g' \ -e $(SH_SCRIPT_SED_CMD) \ $(top_srcdir)/src/preproc/eqn/neqn.sh \ >[email protected] \ -- 2.53.0