mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue