From: "Tomáš Chvátal" <scarabeus@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [RFC] New eclass for x11 packages
Date: Fri, 19 Feb 2010 00:20:49 +0100 [thread overview]
Message-ID: <4B7DCB51.3050505@gentoo.org> (raw)
In-Reply-To: <4B7DCA66.3040507@gentoo.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>> [[ -e "./configure.ac" ]] && eautoreconf || ewarn "Unable to autoreconf
>> the configure script. Things may fail."
>
>> That'll ewarn if configure.ac doesn't exist at all. Doesn't eautoreconf die
>> anyway if it fails, and if not, is it a good idea for failures to only give a
>> warning?
>
> That || die is not for eautoreconf
>
> [[ -e "something" ]] && somethingexists || somethingisnotexisting
>
> For your behaviour it would have to look like this
>
> [[ -e "something" ]] && { somethingexists || die if the commands failed ; }
>
Mea culpa,
now I see you ask if I should not die if that configure.ac is not found.
Well the issue is that things Might fail, not 100% fail :] and it is for
prefix only so we can update behaviour for it later to be more strict.
Tomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkt9y1EACgkQHB6c3gNBRYdkqQCgpCsvS1tJQbeP7sZaxP9xNn1m
ogsAoIrPbn8ilxnTd5oXT77lSXsju0g4
=4/mJ
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2010-02-18 23:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-18 22:33 [gentoo-dev] [RFC] New eclass for x11 packages Tomáš Chvátal
2010-02-18 22:39 ` Jeremy Olexa
2010-02-18 23:04 ` Tomáš Chvátal
2010-02-18 23:06 ` Tomáš Chvátal
2010-02-18 23:11 ` David Leverton
2010-02-18 23:16 ` Tomáš Chvátal
2010-02-18 23:20 ` Tomáš Chvátal [this message]
2010-02-18 23:22 ` David Leverton
2010-02-19 1:22 ` [gentoo-dev] " Ryan Hill
2010-02-24 20:54 ` Tomáš Chvátal
2010-02-22 10:50 ` [gentoo-dev] " Michael Haubenwallner
2010-02-22 14:20 ` Tomáš Chvátal
2010-02-22 15:50 ` Michael Haubenwallner
2010-02-22 15:57 ` Tomáš Chvátal
2010-02-27 12:18 ` Tomáš Chvátal
2010-03-01 8:58 ` Michael Haubenwallner
2010-03-01 10:38 ` Samuli Suominen
2010-03-07 10:52 ` Rémi Cardona
2010-03-10 14:13 ` Tomáš Chvátal
2010-03-10 19:40 ` Dawid Węgliński
2010-03-10 19:42 ` Tomáš Chvátal
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=4B7DCB51.3050505@gentoo.org \
--to=scarabeus@gentoo.org \
--cc=gentoo-dev@lists.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