From: Daniel Robbins <drobbins@gentoo.org>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] how to use die() and assert_true_or_die()
Date: Sun Aug 12 12:59:02 2001 [thread overview]
Message-ID: <20010812125808.D27201@cvs.gentoo.org> (raw)
In-Reply-To: <20010812044153.A187580@plato.zk3.dec.com>; from chouser@users.sourceforge.net on Sun, Aug 12, 2001 at 04:41:53AM -0400
On Sun, Aug 12, 2001 at 04:41:53AM -0400, Chris Houser wrote:
> --- assert_true_or_die() --
> This function is meant to be used when you don't want to make long
> commands even longer by adding the "|| die" syntax. To use it, simply
> add the function call after the command you want to check:
>
> ./configure ${myvar} --prefix=/usr --host=${CHOST}
> assert_true_or_die "Bad configure"
>
> Note that using the function this way doesn't allow you to check
> multiple commands in a pipeline the way die() does.
The "assert_true_or_die" function has been officially renamed to "assert".
Best Regards,
--
Daniel Robbins <drobbins@gentoo.org>
Chief Architect/President http://www.gentoo.org
Gentoo Technologies, Inc.
prev parent reply other threads:[~2001-08-12 18:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-10 23:37 [gentoo-dev] \" fixes Daniel Robbins
2001-08-11 3:18 ` Mikael Hallendal
2001-08-12 2:43 ` [gentoo-dev] how to use die() and assert_true_or_die() Chris Houser
2001-08-12 12:59 ` Daniel Robbins [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010812125808.D27201@cvs.gentoo.org \
--to=drobbins@gentoo.org \
--cc=gentoo-dev@cvs.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox