aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-19 16:26:50 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-19 16:26:50 +0000
commit00466cc06e73efc71557dbb02b2a4a116222cd51 (patch)
tree859f1ba679130e35530c8e574dcb07253c346f71 /build_tools
parent15e8e47e9b327fb1512363c5f7c9938b4d32d673 (diff)
Merged revisions 123909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r123909 | tilghman | 2008-06-19 11:26:03 -0500 (Thu, 19 Jun 2008) | 5 lines Only process 40 arguments (20 files) at once with xargs, because some older shells may force xargs to separate on an odd boundary. (Closes issue #12883) Reported by Nik Soggia ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123913 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/strip_nonapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/strip_nonapi b/build_tools/strip_nonapi
index fe62c3de5..17492e6f8 100755
--- a/build_tools/strip_nonapi
+++ b/build_tools/strip_nonapi
@@ -30,7 +30,7 @@ esac
case "${OSARCH}" in
linux-gnu|FreeBSD)
nm ${1} | ${GREP} -e "$TEXTSYM" | cut -d" " -f3 | ${FILTER} > striplist
- sed -e "s/^/-N /" striplist | xargs ${STRIP} ${1}
+ sed -e "s/^/-N /" striplist | xargs -n 40 ${STRIP} ${1}
rm -f striplist
;;
*)