[asterisk-commits] tilghman: branch 1.4 r123909 - /branches/1.4/build_tools/strip_nonapi
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 19 11:26:03 CDT 2008
Author: tilghman
Date: Thu Jun 19 11:26:03 2008
New Revision: 123909
URL: http://svn.digium.com/view/asterisk?view=rev&rev=123909
Log:
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
Modified:
branches/1.4/build_tools/strip_nonapi
Modified: branches/1.4/build_tools/strip_nonapi
URL: http://svn.digium.com/view/asterisk/branches/1.4/build_tools/strip_nonapi?view=diff&rev=123909&r1=123908&r2=123909
==============================================================================
--- branches/1.4/build_tools/strip_nonapi (original)
+++ branches/1.4/build_tools/strip_nonapi Thu Jun 19 11:26:03 2008
@@ -29,7 +29,7 @@
case "${OSARCH}" in
linux-gnu)
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
;;
*)
More information about the asterisk-commits
mailing list