From 13933283f6a490d83ae13740f6e08e2f79f1fe63 Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 19 Jun 2008 16:27:48 +0000 Subject: Merged revisions 123913 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r123913 | tilghman | 2008-06-19 11:26:50 -0500 (Thu, 19 Jun 2008) | 13 lines 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/branches/1.6.0@123918 f38db490-d61c-443f-a65b-d21fe96a405b --- build_tools/strip_nonapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_tools') 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 ;; *) -- cgit v1.2.3