bug-make
[Top][All Lists]
Advanced

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

[bug #57625] Shell builtins not working unless explicitly set SHELL to "


From: anonymous
Subject: [bug #57625] Shell builtins not working unless explicitly set SHELL to "sh"
Date: Sat, 18 Jan 2020 07:48:41 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?57625>

                 Summary: Shell builtins not working unless explicitly set
SHELL to "sh"
                 Project: make
            Submitted by: None
            Submitted on: Sat 18 Jan 2020 12:48:39 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

Example contents of makefile:


.POSIX:
#SHELL = sh
.PHONY: run
run:
        type make


The target fails because "make: type: Command not found".
If you uncomment the line, it works just fine and outputs "/usr/bin/make". The
documentation
(https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html#Choosing-the-Shell)
says that the default shell is "sh", so I'm not sure why setting SHELL to "sh"
should affect the execution of commands.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57625>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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