Prefer vim to vi for default editor (#4230)

* vim > vi
* Allow which to accept multiple args
* Update __init__ to use which with multiple args
* Fix doc tests
This commit is contained in:
Adam J. Stewart
2017-06-15 04:27:18 -05:00
committed by Todd Gamblin
parent ce11e78530
commit e627447417
7 changed files with 93 additions and 81 deletions

View File

@@ -72,7 +72,7 @@ def setup_environment(self, spack_env, run_env):
# spack_env.set('JAVA_HOME', self.spec['jdk'].prefix)
hadoop = self.spec['hadoop'].command
hadoop_classpath = hadoop('classpath', return_output=True)
hadoop_classpath = hadoop('classpath', output=str)
# Remove whitespaces, as they can compromise syntax in
# module files