Fix typos in new AutotoolsPackage function (#16406)

This commit is contained in:
Adam J. Stewart 2020-04-30 15:13:04 -05:00 committed by GitHub
parent a24a12f229
commit 022c287e47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,11 +154,11 @@ def _do_patch_config_guess(self):
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