[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -e does not work with subscript
From: |
Bob Proulx |
Subject: |
Re: -e does not work with subscript |
Date: |
Tue, 29 Jan 2008 14:16:42 -0700 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Stepan Koltsov wrote:
> set -e
> ( cd some-dir && make )
> ...
> Most readers (and writers) expect script to fail if "make" failed. So
> I think that outer bash should exit with error on "(false)" :-)
> Of course, script can be rewritten as
> ( cd some-dir && make ) || false
Of course the script can also be written as:
make -C some-dir
:-)
Bob
- -e does not work with subscript, yozh, 2008/01/28
- Re: -e does not work with subscript, Pierre Gaston, 2008/01/29
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript, Pierre Gaston, 2008/01/29
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript, Pierre Gaston, 2008/01/29
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript,
Bob Proulx <=
- Re: -e does not work with subscript, Stepan Koltsov, 2008/01/29
- Re: -e does not work with subscript, Linda Walsh, 2008/01/29
Re: -e does not work with subscript, 龙海涛, 2008/01/29