[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Install failures are ignored
From: |
Pavel Roskin |
Subject: |
Re: Install failures are ignored |
Date: |
Fri, 23 Aug 2002 21:41:33 -0400 (EDT) |
Hi, Tom!
> Pavel> Failure (non-zero exit code) of a command inside a "for" loop
> Pavel> doesn't make "for" fail.
>
> Actually, it does (in my test with bash) if `set -e' is used. Doesn't
> BSD make invoke sh that way?
I forgot to say that the problem was observed on Cygwin (current binary
version). I'm sorry, I wrongly assumed that the error was generic.
Cygwin has a very simple shell as /bin/sh, something like ash, but it also
has /bin/bash as the default interactive shell.
The problem happens quite often because install cannot overwrite running
executable files and happily goes ahead and installs data files. I have
been fooled by this two or three times.
> Please check this in. Thanks.
> There must be more instances of this around.
Done.
--
Regards,
Pavel Roskin