1 |
On Sun, Aug 12, 2001 at 04:41:53AM -0400, Chris Houser wrote: |
2 |
|
3 |
> --- assert_true_or_die() -- |
4 |
> This function is meant to be used when you don't want to make long |
5 |
> commands even longer by adding the "|| die" syntax. To use it, simply |
6 |
> add the function call after the command you want to check: |
7 |
> |
8 |
> ./configure ${myvar} --prefix=/usr --host=${CHOST} |
9 |
> assert_true_or_die "Bad configure" |
10 |
> |
11 |
> Note that using the function this way doesn't allow you to check |
12 |
> multiple commands in a pipeline the way die() does. |
13 |
|
14 |
The "assert_true_or_die" function has been officially renamed to "assert". |
15 |
|
16 |
Best Regards, |
17 |
|
18 |
-- |
19 |
Daniel Robbins <drobbins@g.o> |
20 |
Chief Architect/President http://www.gentoo.org |
21 |
Gentoo Technologies, Inc. |