1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

build: don't depend on the word size of nm output

the first column varies in length for different architectures
This commit is contained in:
Andrew Tridgell 2010-04-18 17:31:24 +10:00
parent 1aa80f5788
commit 3f1ebe805b

View File

@ -10,7 +10,7 @@ cat <<EOF
set height 0
set width 0
EOF
nm $SHAREDLIB | cut -c18- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
nm $SHAREDLIB | cut -d' ' -f2- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
echo "echo $s: "
echo p $s
done