]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtoolize.in: Use just one `echo' for `--version' output
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 18 May 2006 16:34:38 +0000 (16:34 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 18 May 2006 16:34:38 +0000 (16:34 +0000)
instead of several `echo', to avoid `Broken pipe' errors.
Reported by Behdad Esfahbod <behdad@cs.toronto.edu>.

ChangeLog
ltmain.in

index 07e95d5c1e4be0a2e2c4d2c14e44ce69c1647000..ea502aa69c82dbcafce0a6fa8bc39a5077cc43a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-05-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * libtoolize.in: Use just one `echo' for `--version' output
+       instead of several `echo', to avoid `Broken pipe' errors.
+       Reported by Behdad Esfahbod <behdad@cs.toronto.edu>.
+
        * ltmain.in: Reset/unset not only LANG and LC_ALL, but also
        LC_CTYPE, LC_COLLATE, LC_MESSAGES.
        (execute mode): Restore them.
index 3879fb5105cf69b796ac9616cdbbfd23cbb2278d..4a4c28f1465d60b4fa11319aa8acc3edcd00bf8a 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -482,11 +482,13 @@ do
     ;;
 
   --version)
-    $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
-    $echo
-    $echo "Copyright (C) 2006  Free Software Foundation, Inc."
-    $echo "This is free software; see the source for copying conditions.  There is NO"
-    $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+    echo "\
+
+$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
+
+Copyright (C) 2006  Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
     exit $?
     ;;