[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #28092] $(shell false) should break build
From: |
Paul D. Smith |
Subject: |
[bug #28092] $(shell false) should break build |
Date: |
Mon, 13 Jul 2015 04:10:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
Update of bug #28092 (project make):
Status: None => Fixed
Assigned to: None => psmith
Open/Closed: Open => Closed
Fixed Release: None => SCM
_______________________________________________________
Follow-up Comment #7:
I'm not willing to add the suggested -e option or a new function. I did add
(in Git now) a new variable .SHELLSTATUS which is set to the exit code from
the most recent shell function, so you can test it to see if there was an
error and do whatever you like.
VAR := $(shell somecommand)
ifneq ($(.SHELLSTATUS),0)
$(error somecommand failed)
endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?28092>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #28092] $(shell false) should break build,
Paul D. Smith <=