-----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-----