summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-30 15:13:04 -0500
committerGitHub <noreply@github.com>2020-04-30 15:13:04 -0500
commit022c287e473a0d836c3f209ce8415f750bcff289 (patch)
treed403889dbf468eacaf862d478939688c9b968dd6 /lib
parenta24a12f22917558d7b99148a011460e7b5507f54 (diff)
downloadspack-022c287e473a0d836c3f209ce8415f750bcff289.tar.gz
spack-022c287e473a0d836c3f209ce8415f750bcff289.tar.bz2
spack-022c287e473a0d836c3f209ce8415f750bcff289.tar.xz
spack-022c287e473a0d836c3f209ce8415f750bcff289.zip
Fix typos in new AutotoolsPackage function (#16406)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/autotools.py4
1 files changed, 2 insertions, 2 deletions
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