From 61f07b0c4d50c831d4723341c1a896c54d82c221 Mon Sep 17 00:00:00 2001
From: Mike Nolta <mike@nolta.net>
Date: Sun, 20 Dec 2015 20:15:02 -0500
Subject: [PATCH] fix a few comment typos

---
 bin/spack                            | 2 +-
 lib/spack/spack/build_environment.py | 2 +-
 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 add_env_path(path):
     # 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")
-- 
GitLab