diff options
author | Pierre-Clément Tosi <ptosi@google.com> | 2023-06-06 17:35:53 +0000 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-06-07 22:41:08 +0900 |
commit | ec336aa83162fe0f3d554baed2d4e2589b69ec6e (patch) | |
tree | 6ab7a1e4cb77e4c6a03a76d5ba5eb7be752c81e3 /Documentation/scsi/qlogicfas.rst | |
parent | 20ff36856fe00879f82de71fe6f1482ca1b72334 (diff) |
scripts/mksysmap: Fix badly escaped '$'
The backslash characters escaping '$' in the command to sed (intended to
prevent it from interpreting '$' as "end-of-line") are currently being
consumed by the Shell (where they mean that sh should not evaluate what
follows '$' as a variable name). This means that
sed -e "/ \$/d"
executes the script
/ $/d
instead of the intended
/ \$/d
So escape twice in mksysmap any '$' that actually needs to reach sed
escaped so that the backslash survives the Shell.
Fixes: c4802044a0a7 ("scripts/mksysmap: use sed with in-line comments")
Fixes: 320e7c9d4494 ("scripts/kallsyms: move compiler-generated symbol patterns to mksysmap")
Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Documentation/scsi/qlogicfas.rst')
0 files changed, 0 insertions, 0 deletions