From: Ralf Wildenhues Date: Thu, 18 May 2006 16:34:38 +0000 (+0000) Subject: * libtoolize.in: Use just one `echo' for `--version' output X-Git-Tag: release-1-5-23b~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d5c8190b396e9335822b9b645a8863e12f8f9a;p=thirdparty%2Flibtool.git * libtoolize.in: Use just one `echo' for `--version' output instead of several `echo', to avoid `Broken pipe' errors. Reported by Behdad Esfahbod . --- diff --git a/ChangeLog b/ChangeLog index 07e95d5c1..ea502aa69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-18 Ralf Wildenhues + * libtoolize.in: Use just one `echo' for `--version' output + instead of several `echo', to avoid `Broken pipe' errors. + Reported by Behdad Esfahbod . + * ltmain.in: Reset/unset not only LANG and LC_ALL, but also LC_CTYPE, LC_COLLATE, LC_MESSAGES. (execute mode): Restore them. diff --git a/ltmain.in b/ltmain.in index 3879fb510..4a4c28f14 100644 --- 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 $? ;;