X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fapi-support%2Fupdate-from-tarballs.sh;fp=src%2Fapi-support%2Fupdate-from-tarballs.sh;h=241cd1645dfd60b981fcfa09c38e718ecd4129ae;hb=7ba1b55aa79c56ded770f8ea46716eb054fbfe78;hp=85798253ca7bcaa945fd68def82f3219164f9ecf;hpb=d2400da92e5e2cc7fd5e33e61220a33214d5241c;p=libguestfs.git diff --git a/src/api-support/update-from-tarballs.sh b/src/api-support/update-from-tarballs.sh index 8579825..241cd16 100755 --- a/src/api-support/update-from-tarballs.sh +++ b/src/api-support/update-from-tarballs.sh @@ -84,7 +84,7 @@ for v in $rev_versions; do for sym in $symbols; do # If symbol is missing from the file, that indicates it # was added in the previous file we checked ($previous). - if ! grep -sq $sym $v; then + if ! egrep -sq \\b$sym\\b $v; then echo $sym $previous >&5 else next_symbols="$next_symbols $sym"