my kernel is not build/install

Chris Rees utisoft at googlemail.com
Mon Jun 29 22:11:39 UTC 2009


2009/6/26 Kent Stewart <kstewart at owt.com>:
>
> make buildkernel KERNCONF=FREEBSD1 2>&1 |
> tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
>
> It leaves a complete log everytime I build a kernel. Your options would be
> different and I also use csh.
>


[chris at amnesiac]~% make buildkernel KERNCONF=FREEBSD1 2>&1 |tee
/var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log
Ambiguous output redirect.
[chris at amnesiac]~%

I think you've written that into a script for /bin/sh.

I've no idea how to pipe stderr in csh, but 2>&1 is NOT the way to do it!

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?


More information about the freebsd-questions mailing list