instead of several `echo', to avoid `Broken pipe' errors.
Reported by Behdad Esfahbod <behdad@cs.toronto.edu>.
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.
;;
--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 $?
;;