svn commit: r367720 - head/tools/build

Alex Richardson arichardson at FreeBSD.org
Mon Nov 16 11:38:52 UTC 2020


Author: arichardson
Date: Mon Nov 16 11:38:51 2020
New Revision: 367720
URL: https://svnweb.freebsd.org/changeset/base/367720

Log:
  Revert "When building on Ubuntu bootstrap bmake with bash as the default shell"
  
  This reverts r365950 since the latest bmake update includes fixes for the test
  failures that prompted the change.

Modified:
  head/tools/build/make.py

Modified: head/tools/build/make.py
==============================================================================
--- head/tools/build/make.py	Mon Nov 16 10:15:03 2020	(r367719)
+++ head/tools/build/make.py	Mon Nov 16 11:38:51 2020	(r367720)
@@ -81,14 +81,6 @@ def bootstrap_bmake(source_root, objdir_prefix):
         "--with-default-sys-path=" + str(bmake_install_dir / "share/mk"),
         "--with-machine=amd64",  # TODO? "--with-machine-arch=amd64",
         "--without-filemon", "--prefix=" + str(bmake_install_dir)]
-
-    if Path("/bin/sh").resolve().name == "dash":
-        # Note: we have to avoid using dash as the default shell since it
-        # filters out variables containing characters such as '-' and that
-        # breaks the bmake bootstrap tests.
-        # TODO: remove this when the bootstrap tests have been fixed.
-        configure_args.append("--with-defshell=/bin/bash")
-
     run(["sh", bmake_source_dir / "boot-strap"] + configure_args,
         cwd=str(bmake_build_dir), env=env)
 


More information about the svn-src-all mailing list