rename nm and strip to acknm and ackstrip

this is to force invocations of these utils for ack to be
explicitly named such, so in the future binutils can be installed
in /usr/pkg without the g- prefix.
This commit is contained in:
Ben Gras
2010-08-02 16:09:19 +00:00
parent 0f92964a2f
commit 453be3b530
8 changed files with 8 additions and 8 deletions

View File

@@ -5,12 +5,12 @@ then echo "Usage: $0 <executable> [0x... [0x... ] ]"
exit 1
fi
PATH=$PATH:/usr/gnu/bin
PATH=$PATH:/usr/gnu/bin:/usr/pkg/bin
if file $1 | grep NSYM >/dev/null 2>&1; then
NM="gnm --radix=d"
else
NM="nm -d"
NM="acknm -d"
fi
executable=$1