Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 7201] kyle's >> $C_FIFO doesn't work and is wrong for our needs

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 7201] kyle's >> $C_FIFO doesn't work and is wrong for our needs
  • Date: Mon, 2 Aug 2004 14:49:49 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=7201





------- Additional Comments From seth AT tautology.org 2004-08-02 14:49 -------
How to maintain backwards compatibility:

Redefine C_FIFO=/dev/stdout because old api1 BUILDs will refer to it.

Delete and don't call libcast's 'activate_voyeur()'

Delete the mkfifo in run_build_spell

Move VOYEUR=on check until the actual BUILD where there is:

>(tee -a $C_LOG)

change that to:
if [ "$VOYEUR" == "on" ]; then
VOYEUR_TARGET=/dev/stdout
else
VOYEUR_TARGET=/dev/null
fi
...
>(tee -a $C_LOG > $VOYEUR_TARGET)

Or:

>(
if [ "$VOYEUR" == "on" ]; then
tee -a $C_LOG
else
cat >> $C_LOG
fi
)

Or even have the pipe change to >> $C_LOG if $VOYEUR != on through a
conditional
encompassing the subshell.

gaze voyeur itself already just tails the compile logs (not the fifos), so no
change is needed.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page