summaryrefslogtreecommitdiff
path: root/gdk/abicheck.sh
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-11-16 03:03:49 +0000
committerManish Singh <yosh@src.gnome.org>2004-11-16 03:03:49 +0000
commitb3121f550a29105a1e8ae9068467b8d093f30a22 (patch)
tree863d833ead5936bb0597aee53eda5ab4cd513172 /gdk/abicheck.sh
parent8a5db20e4809409e8148ed3c29c9de64a5893eeb (diff)
downloadgdk-pixbuf-b3121f550a29105a1e8ae9068467b8d093f30a22.tar.gz
gdk/abicheck.sh don't hardcode lengths for cut, instead split on the third
Mon Nov 15 19:02:07 2004 Manish Singh <yosh@gimp.org> * gdk/abicheck.sh * gtk/abicheck.sh: don't hardcode lengths for cut, instead split on the third field.
Diffstat (limited to 'gdk/abicheck.sh')
-rwxr-xr-xgdk/abicheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/abicheck.sh b/gdk/abicheck.sh
index 8f39943ef..e5fc5e6b8 100755
--- a/gdk/abicheck.sh
+++ b/gdk/abicheck.sh
@@ -1,5 +1,5 @@
#! /bin/sh
cpp -P -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' | sort > expected-abi
-nm -D .libs/libgdk-x11-2.0.so | grep " T " | cut -c12- | sort > actual-abi
+nm -D .libs/libgdk-x11-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi