pkgsrc/regress/infra-unittests
rillig ad23776a43 mk/subst.mk: fix shell parse error for special sed expressions
The escaping inside the backticks had been wrong.  Because of this,
parentheses and semicolons were interpreted as shell syntax.

Switching to $(...) command substitution removes the need for quoting
some of the characters and makes the whole command simpler to understand.
Doing the escaping for the backticks command properly would have involved
lots of special cases.

The $(...) command substitution was used sparingly in pkgsrc up to now
because some older or broken shells do not support it.  Since these
shells do not end up as the shell that runs the commands from Makefiles,
that's not a problem.
2020-05-02 05:52:09 +00:00
..
extract.sh regress/infra-unittests: bring files into normal form 2020-04-26 12:46:33 +00:00
help.sh regress/infra-unittests: add example tests for mk/help/help.awk 2020-03-30 06:40:53 +00:00
mocked-include.sh regress/infra-unittests: bring files into normal form 2020-04-26 12:46:33 +00:00
patch.sh regress/infra-unittests: add tests for patch(1) 2020-04-26 12:46:01 +00:00
spec
subst.sh mk/subst.mk: fix shell parse error for special sed expressions 2020-05-02 05:52:09 +00:00
test.subr regress/infra-unittests: fix syntax error in test.subr 2020-05-01 14:14:12 +00:00
tools-bison.sh regress/infra-unittests: bring files into normal form 2020-04-26 12:46:33 +00:00