[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63638] the PATH environment variable seems to get modified when a
From: |
anonymous |
Subject: |
[bug #63638] the PATH environment variable seems to get modified when a makefile is remade |
Date: |
Mon, 9 Jan 2023 17:01:09 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63638>
Summary: the PATH environment variable seems to get modified
when a makefile is remade
Project: make
Submitter: None
Submitted: Mon 09 Jan 2023 10:01:07 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.4
Operating System: MS Windows
Fixed Release: None
Triage Status: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 09 Jan 2023 10:01:07 PM UTC By: Anonymous
Consider the following minimal example:
# ---
# show the content of the environment variable PATH
$(info PATH = $(shell echo %PATH%))
# the first time the makefile is made, we delete the (empty) file we're
including below.
# this ensures that its rule gets executed and that the makefile gets remade.
ifeq ($(MAKE_RESTARTS),)
$(shell del missing_at_first.mk)
endif
# the first time the makefile is made, this file doesn't exist, but we have a
rule to create it, so we are going to get remade
include missing_at_first.mk
# rule to create an empty file
missing_at_first.mk:
@type nul > missing_at_first.mk
# ---
with make 4.4-2, i get the following result:
PATH = C:\msys64-make-4.4-2\mingw64\bin
PATH = C;\msys64-make-4.4-2\mingw64\bin
please notice how the first colon turned to a semicolon on the second pass.
with make 4.3, i get the expected result:
PATH = C:\msys64-make-4.4-2\mingw64\bin
PATH = C:\msys64-make-4.4-2\mingw64\bin
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63638>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade,
anonymous <=
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, anonymous, 2023/01/09
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, Paul D. Smith, 2023/01/09
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, anonymous, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, Eli Zaretskii, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, Paul D. Smith, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, Eli Zaretskii, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, anonymous, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, Eli Zaretskii, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, anonymous, 2023/01/10
- [bug #63638] the PATH environment variable seems to get modified when a makefile is remade, Eli Zaretskii, 2023/01/10