bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #40431] .SHELLFLAGS is passed to shell as single argument.


From: David Boyce
Subject: [bug #40431] .SHELLFLAGS is passed to shell as single argument.
Date: Thu, 31 Oct 2013 04:30:45 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36

Follow-up Comment #1, bug #40431 (project make):

This isn't the fix you were looking for, but for the record I think placing:

export SHELLOPTS = pipefail

in the makefile would solve your particular problem. The SHELLOPTS variable is
read-only to bash so it cannot be set within the shell, thus the only way to
get this behavior is with set -o pipefail, but you can modify and export
SHELLOPTS from a non-bash parent process (such as make).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40431>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]