tools/mksymtab.sh: Check sed expression
sed: -e expression #1, char 0: no previous regular expression Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
ddaec5f188
commit
da83fa8ab2
@ -53,7 +53,9 @@ if [ -z "$varlist" ]; then
|
||||
|
||||
# Remove the intersection between them, and the remaining symbols are found in the main image
|
||||
common=`echo "$varlist" | tr ' ' '\n' | grep -Fxf <(echo "$deflist" | tr ' ' '\n') | tr '\n' ' '`
|
||||
varlist=`echo $varlist | sed "s/$common//g"`
|
||||
if [ "x$common" != "x" ]; then
|
||||
varlist=`echo $varlist | sed "s/$common//g"`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user