-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Derek Atkins wrote: |>>I think it would be nice if we had " || exit 1" at the end of every |>>line. |> |>Alternatively I've added |> |>trap exit ERR | | | Unfortunately it's not portable:
I'm confused. If you want the script to exit if there is an error, why not just put 'set -e' at the top of it? Peter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iQCVAwUBQ1jlpbiDAg3OZTLPAQLZNgQAlIpGcFS7kkCXxi0faE9CsIx1HNmJRhvW UVNarcYJI4fFE9f/NhjtUqg0KaySg1/Zx1F2d3J3KEKvcvSwmWuWAEEyMTNcOf+V tAc3YIu8RhFE0Map8qonh/IicT70TLaJ/JXpQkdlnS8hJMC7Wlyjx98mDI84hCJC HpWVJRurNFg= =r7Xq -----END PGP SIGNATURE----- _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
