From 022c287e473a0d836c3f209ce8415f750bcff289 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 30 Apr 2020 15:13:04 -0500 Subject: Fix typos in new AutotoolsPackage function (#16406) --- lib/spack/spack/build_systems/autotools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py index 6fc77bee6a..90cad572a1 100644 --- a/lib/spack/spack/build_systems/autotools.py +++ b/lib/spack/spack/build_systems/autotools.py @@ -154,11 +154,11 @@ class AutotoolsPackage(PackageBase): raise RuntimeError('Failed to find suitable config.guess') @run_before('configure') - def _set_autotools_environment_varoables(self): + def _set_autotools_environment_variables(self): """Many autotools builds use a version of mknod.m4 that fails when running as root unless FORCE_UNSAFE_CONFIGURE is set to 1. - We set this to 1 and expect the user to take responsibiltiy if + We set this to 1 and expect the user to take responsibility if they are running as root. They have to anyway, as this variable doesn't actually prevent configure from doing bad things as root. Without it, configure just fails halfway through, but it can -- cgit v1.2.3-60-g2f50