Update FSF address.
[libguestfs.git] / src / api-support / update-from-tarballs.sh
index 59f78d9..cd797e4 100755 (executable)
@@ -14,9 +14,9 @@
 #
 # 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 HACKING ]; then
+if [ ! -f BUGS ]; then
     echo "You should run this script from the top source directory."
     exit 1
 fi
@@ -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"