X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fapi-support%2Fupdate-from-tarballs.sh;h=cd797e4affb76717cdcad0c4426effbb9fca658c;hb=d24e088dc3475db4496e5cbd67c143c25ef12b1e;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..cd797e4 100755 --- a/src/api-support/update-from-tarballs.sh +++ b/src/api-support/update-from-tarballs.sh @@ -14,7 +14,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. if [ ! -f BUGS ]; then echo "You should run this script from the top source directory." @@ -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"