summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Nolta <mike@nolta.net>2015-12-20 20:15:02 -0500
committerMike Nolta <mike@nolta.net>2015-12-21 19:24:16 -0500
commit61f07b0c4d50c831d4723341c1a896c54d82c221 (patch)
treec5bf23d2d08ac8ab792c58d823e50c7cc9a2738d
parentc3aaf005e2ec2844fa02a60414978692b67727a4 (diff)
downloadspack-61f07b0c4d50c831d4723341c1a896c54d82c221.tar.gz
spack-61f07b0c4d50c831d4723341c1a896c54d82c221.tar.bz2
spack-61f07b0c4d50c831d4723341c1a896c54d82c221.tar.xz
spack-61f07b0c4d50c831d4723341c1a896c54d82c221.zip
fix a few comment typos
-rwxr-xr-xbin/spack2
-rw-r--r--lib/spack/spack/build_environment.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/spack b/bin/spack
index a0b260ccaf..cd46cf6180 100755
--- a/bin/spack
+++ b/bin/spack
@@ -150,7 +150,7 @@ def main():
sys.stderr.write('\n')
tty.die("Keyboard interrupt.")
- # Allow commands to return values if they want to exit with some ohter code.
+ # Allow commands to return values if they want to exit with some other code.
if return_val is None:
sys.exit(0)
elif isinstance(return_val, int):
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 20154a55b3..84c2f6015b 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -145,7 +145,7 @@ def set_build_environment_variables(pkg):
# Install root prefix
os.environ[SPACK_INSTALL] = spack.install_path
- # Remove these vars from the environment during build becaus they
+ # Remove these vars from the environment during build because they
# can affect how some packages find libraries. We want to make
# sure that builds never pull in unintended external dependencies.
pop_keys(os.environ, "LD_LIBRARY_PATH", "LD_RUN_PATH", "DYLD_LIBRARY_PATH")