[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool scribbles into pipelines
From: |
John Reiser |
Subject: |
libtool scribbles into pipelines |
Date: |
Tue, 12 Jun 2001 12:55:12 -0700 |
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)
By default, libtool messes up pipelines because it writes "diagnostic"
output onto stdout instead of stderr.
Change
-----ltmain.in:99
show="$echo"
-----becomes
show="$echo 1>&2"
-----
Also change
-----ltmain.in:148
--debug)
echo "$progname: enabling shell trace mode"
set -x
-----becomes
--debug)
echo "$progname: enabling shell trace mode" 1>&2
set -x
PS4='+$LINENO ' # greatly helps auditing!
-----
and probably most other "bare" uses of 'echo'.
--
John Reiser, voice/fax +1 503 297 3754, address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libtool scribbles into pipelines,
John Reiser <=