From: Ralf Wildenhues Date: Tue, 28 Dec 2004 12:53:35 +0000 (+0000) Subject: * ltmain.in (func_extract_archives): Not all shells grok X-Git-Tag: release-1-5-12~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e28e85ccf3f76c1d992ef7ead298ebd24802d89;p=thirdparty%2Flibtool.git * ltmain.in (func_extract_archives): Not all shells grok `read -r' (unnecessary in this case). Reported by Ralf Menzel . --- diff --git a/ChangeLog b/ChangeLog index f4b274af8..f32ef729a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-12-28 Ralf Wildenhues + * ltmain.in (func_extract_archives): Not all shells grok + `read -r' (unnecessary in this case). + Reported by Ralf Menzel . + * ltmain.in: New variable quote_scanset to work around SunOS ksh `case' backslash-escaping bug: protect character class by variable expansion. Reported by Alexander Kurz . diff --git a/ltmain.in b/ltmain.in index b54769f31..9b63369b2 100644 --- a/ltmain.in +++ b/ltmain.in @@ -259,7 +259,7 @@ func_extract_an_archive () { $show "cp $f_ex_an_ar_oldlib $f_ex_an_ar_dir/$f_ex_an_ar_lib" $run eval "cp \$f_ex_an_ar_oldlib \$f_ex_an_ar_dir/\$f_ex_an_ar_lib" $AR t "$f_ex_an_ar_oldlib" | sort | uniq -c \ - | $EGREP -v '^[ ]*1[ ]' | while read -r count name + | $EGREP -v '^[ ]*1[ ]' | while read count name do i=1 while test "$i" -le "$count"