arm: k3: Correct an awk warning
The k3_gen_x509_cert.sh script produced this warning on gitlab and also on my machine, e.g. with j7200_evm_r5: awk: cmd. line:1: warning: regexp escape sequence `\ ' is not a known regexp operator There is no need to escape spaces, so drop the backslashes. Also split the line so it is a more reasonable length. This script should really be deleted and binman used instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4b05301979
commit
cc0b36536b
1 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,10 @@ EOF
|
|||
}
|
||||
|
||||
parse_key() {
|
||||
sed '/\ \ \ \ /s/://g' key.txt | awk '!/\ \ \ \ / {printf("\n%s\n", $0)}; /\ \ \ \ / {printf("%s", $0)}' | sed 's/\ \ \ \ //g' | awk "/$1:/{getline; print}"
|
||||
sed '/ /s/://g' key.txt | \
|
||||
awk '!/ / {printf("\n%s\n", $0)}; / / {printf("%s", $0)}' | \
|
||||
sed 's/ //g' | \
|
||||
awk "/$1:/{getline; print}"
|
||||
}
|
||||
|
||||
gen_degen_key() {
|
||||
|
|
Loading…
Reference in a new issue