[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "set -e" in subshell is now reliable
From: |
Akim Demaille |
Subject: |
Re: "set -e" in subshell is now reliable |
Date: |
23 Feb 2001 16:17:17 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Pavel Roskin <address@hidden> writes:
> Hello, Akim!
>
> You recently applied a patch to tests/target-cflags.test without
> mentioning it in ChangeLog. Maybe you didn't mean to commit that change?
>
> If you did, then two small fixes are needed:
>
> 1) You should run ./foo instead /foo
> 2) bash could not detect it because "set -e" doesn't propagate to the
> subshell. I only could catch it on FreeBSD 4.0.
>
> I think it's better to stay on the safe side and eliminate the subshell. I
> tried "set -e" in subshell but it didn't work as it should (with
> bash-1.14.7).
Sorry, my big mistake. Sneaked in.