lkml.org 
[lkml]   [2003]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.54 Makefile question: set -e
On Sat, Jan 04, 2003 at 12:04:15PM -0800, Mad Hatter wrote:
> Hi,
>
> The toplevel Makefile in 2.5.54 has near line 313:
>
> ----------------------------
> # set -e makes the rule exit immediately on error
> #...
> attribute if uninitialized.
>
> define rule_vmlinux__
> set -e
> ...
> endef
> -------------------------
>
> However, the "set -e" does nothing since each line is
> processed by a different shell according to the make
> manual.

The "set -e" seems superflous in this context.
set -e is IIRC only relevant when commands are chined like:

set -e; \
cd $(srctree); \
mkdir somedir; \
do somthing;

Kai?

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.042 / U:5.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site