diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 18:54:30 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 18:54:30 +0000 |
commit | 6203f85f62c15c327b5498b304dc3910532341dd (patch) | |
tree | c756c4268e8076ab7f3f4289c3f297a3dfafb6ea /build_tools/strip_nonapi | |
parent | f7a10e2229b7dfbf94c7d57cc346d64b8e5272ca (diff) |
Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines
Fix a few build issues in Solaris (and likely others).
Use GREP and ID variables from autoconf.
Reported to me in #asterisk-dev
I forgot who reported this - sorry. :(
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/strip_nonapi')
-rwxr-xr-x | build_tools/strip_nonapi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/strip_nonapi b/build_tools/strip_nonapi index 5fc0ed114..c2262cafa 100755 --- a/build_tools/strip_nonapi +++ b/build_tools/strip_nonapi @@ -15,11 +15,11 @@ # astman_ # pbx_ -FILTER="grep -v -e ^ast_ -e ^_ast_ -e ^__ast_ -e ^astman_ -e ^pbx_" +FILTER="${GREP} -v -e ^ast_ -e ^_ast_ -e ^__ast_ -e ^astman_ -e ^pbx_" case "${OSARCH}" in linux-gnu) - nm ${1} | grep -e " T " | cut -d" " -f3 | ${FILTER} > striplist + nm ${1} | ${GREP} -e " T " | cut -d" " -f3 | ${FILTER} > striplist sed -e "s/^/-N /" striplist | xargs ${STRIP} ${1} rm -f striplist ;; |