git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: fix build with python 3.8
[dpdk.git]
/
buildtools
/
check-experimental-syms.sh
diff --git
a/buildtools/check-experimental-syms.sh
b/buildtools/check-experimental-syms.sh
index
abebb89
..
f3603e5
100755
(executable)
--- a/
buildtools/check-experimental-syms.sh
+++ b/
buildtools/check-experimental-syms.sh
@@
-25,8
+25,8
@@
objdump -t $OBJFILE >$DUMPFILE
ret=0
for SYM in `$LIST_SYMBOL -S EXPERIMENTAL $MAPFILE |cut -d ' ' -f 3`
do
ret=0
for SYM in `$LIST_SYMBOL -S EXPERIMENTAL $MAPFILE |cut -d ' ' -f 3`
do
- if grep -q "\.text.*$SYM$" $DUMPFILE &&
- ! grep -q "\.text\.experimental.*$SYM$" $DUMPFILE
+ if grep -q "\.text.*
[[:space:]]
$SYM$" $DUMPFILE &&
+ ! grep -q "\.text\.experimental.*
[[:space:]]
$SYM$" $DUMPFILE
then
cat >&2 <<- END_OF_MESSAGE
$SYM is not flagged as experimental
then
cat >&2 <<- END_OF_MESSAGE
$SYM is not flagged as experimental