mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Adjust find_status for newer Linux 'nm' output format.
This commit is contained in:
@ -16,8 +16,7 @@ trap "rm -f /tmp/$$" 0 1 2 3 15
|
|||||||
# symbol, then the function name.
|
# symbol, then the function name.
|
||||||
|
|
||||||
find . -name '[a-z]*.o' -type f -print | while read FILE
|
find . -name '[a-z]*.o' -type f -print | while read FILE
|
||||||
do
|
do nm $FILE | cut -c17-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}'
|
||||||
nm $FILE | cut -c10-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}'
|
|
||||||
done >/tmp/$$
|
done >/tmp/$$
|
||||||
dropdb debug
|
dropdb debug
|
||||||
createdb debug
|
createdb debug
|
||||||
|
Reference in New Issue
Block a user