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/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to