From: Bruce Momjian Date: Wed, 14 Nov 2012 02:08:07 +0000 (-0500) Subject: Adjust find_status for newer Linux 'nm' output format. X-Git-Tag: REL9_3_BETA1~716 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bdfd9cb9e3731a5c27f31db5330b81f170a5db6;p=thirdparty%2Fpostgresql.git Adjust find_status for newer Linux 'nm' output format. --- diff --git a/src/tools/find_static b/src/tools/find_static index c7014e6014b..0643021879f 100755 --- a/src/tools/find_static +++ b/src/tools/find_static @@ -16,8 +16,7 @@ trap "rm -f /tmp/$$" 0 1 2 3 15 # symbol, then the function name. find . -name '[a-z]*.o' -type f -print | while read FILE -do - nm $FILE | cut -c10-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}' +do nm $FILE | cut -c17-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}' done >/tmp/$$ dropdb debug createdb debug