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: https://origsvn.digium.com/svn/asterisk/trunk@123913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher 2008-06-19 16:26:50 +00:00
parent 48a9e5cada
commit 33ea368c93
1 changed files with 1 additions and 1 deletions

View File

@ -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
;;
*)