Skip to content
Commit e461bc9f authored by Jeremie Francois (on alpha)'s avatar Jeremie Francois (on alpha) Committed by Masahiro Yamada
Browse files

scripts/config: allow colons in option strings for sed



Sed broke on some strings as it used colon as a separator.
I made it more robust by using \001, which is legit POSIX AFAIK.

E.g. ./config --set-str CONFIG_USBNET_DEVADDR "de:ad:be:ef:00:01"
failed with: sed: -e expression #1, char 55: unknown option to `s'

Signed-off-by: default avatarJeremie Francois (on alpha) <jeremie.francois@gmail.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent ae83d0b4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment