]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh (func_extract_archives): Not all shells grok
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 28 Dec 2004 12:54:49 +0000 (12:54 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 28 Dec 2004 12:54:49 +0000 (12:54 +0000)
`read -r' (unnecessary in this case).
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.

ChangeLog
config/ltmain.m4sh

index 845851bf6eaf9bc3f059fcf07d4d054334049eef..a2ebf393f59c43e33dcae4c543ab10a638a23d81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-12-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * config/ltmain.m4sh (func_extract_archives): Not all shells grok
+       `read -r' (unnecessary in this case).
+       Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
+
        * config/general.m4sh: New variable quote_scanset..
        (func_quote_for_eval, func_quote_for_expand)  ..use it to work around
        SunOS ksh `case' backslash-escaping bug: protect character class by
index 1ec0fd8e408cde2a951519b2fecd26467abc0f79..3924e0b39102c40aa6e26b1a4460fca1dcb451f8 100644 (file)
@@ -974,7 +974,7 @@ func_extract_an_archive () {
       func_warning "$modename: warning: object name conflicts; renaming object files" 1>&2
       func_warning "$modename: warning: to ensure that they will not overwrite" 1>&2
       func_show_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 | while read -r count name
+      $AR t "$f_ex_an_ar_oldlib" | sort | uniq -c | while read count name
       do
        # We don't want to do anything to objects with unique names
         test "$count" -eq 1 && continue