Don't assume spack is in the path when buildign docs.

This commit is contained in:
Todd Gamblin 2016-08-15 10:49:09 -07:00
parent 483e4116c0
commit 1e673bfa42

View File

@ -51,7 +51,8 @@
os.environ['PATH'] += os.pathsep + '$SPACK_ROOT/bin'
spack_version = subprocess.Popen(
['spack', '-V'], stderr=subprocess.PIPE).communicate()[1].strip().split('.')
[spack_root + '/bin/spack', '-V'],
stderr=subprocess.PIPE).communicate()[1].strip().split('.')
# Set an environment variable so that colify will print output like it would to
# a terminal.