Don't assume spack is in the path when buildign docs.
This commit is contained in:
parent
483e4116c0
commit
1e673bfa42
@ -51,7 +51,8 @@
|
|||||||
os.environ['PATH'] += os.pathsep + '$SPACK_ROOT/bin'
|
os.environ['PATH'] += os.pathsep + '$SPACK_ROOT/bin'
|
||||||
|
|
||||||
spack_version = subprocess.Popen(
|
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
|
# Set an environment variable so that colify will print output like it would to
|
||||||
# a terminal.
|
# a terminal.
|
||||||
|
Loading…
Reference in New Issue
Block a user