net/asterisk{20,22}: Fix build with non-default options
With certain non-default build options, an error message is displayed,
but the build process itself does not terminate:
sed: 1: "s/^MAKE\s*=\s*gp
": RE error: trailing backslash (\)
./build_tools/list_valid_installed_externals: line 12: --quiet: command not found
sed: 1: "s/^MAKE\s*=\s*gp
": RE error: trailing backslash (\)
./build_tools/list_valid_installed_externals: line 12: --quiet: command not found
This may cause issues at runtime.
PR: 300741
Approved by: blanket (fix runtime)
Sponsored by: UNIS Labs
MFH: 2026Q4
(cherry picked from commit c64e227acc4a5349f186f44848f0dfb03252f72d)