diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2022-03-22 09:10:27 +0100 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2022-03-24 14:37:16 +0100 |
commit | 1122794b179cbd94ad250e619086e6e2f109fadd (patch) | |
tree | d6725eb0db85d5cd38aa16a3b9dea8338cbbad66 | |
parent | 66c10663993a63cc81285fc1be304d0f3e503962 (diff) | |
download | erlang-1122794b179cbd94ad250e619086e6e2f109fadd.tar.gz |
Correct cleaning of bootstrap/bin
23e45f4aa6d521 added inet_gethost to the bootstrap in the directory
bootstrap/bin/$(TARGET). If $(TARGET) contained a "." (such as it would
on macOS), the bootstrap_clean target would fail because the wildcard
"*.*" would match $(TARGET). Avoid the problem by using a more specific
wildcard.
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 8faeb9a597..28567ddaa5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1244,7 +1244,7 @@ bootstrap_clean: $(V_at)rm -f $(ERL_TOP)/bootstrap/lib/*/include/*.hrl $(V_at)rm -f $(ERL_TOP)/bootstrap/primary_compiler/ebin/* $(V_at)rm -f $(ERL_TOP)/bootstrap/primary_compiler/egen/* - $(V_at)rm -f $(ERL_TOP)/bootstrap/bin/*.* + $(V_at)rm -f $(ERL_TOP)/bootstrap/bin/*.boot $(V_at)rm -f $(KERNEL_PRELOAD:%=$(ERL_TOP)/lib/kernel/ebin/%.beam) $(V_at)test $(BOOTSTRAP_ROOT) = $(ERL_TOP) \ || $(MAKE) BOOTSTRAP_ROOT=$(BOOTSTRAP_ROOT) bootstrap_root_clean |