Fix issue with path to Spack.

This commit is contained in:
Todd Gamblin 2016-08-30 19:57:33 -07:00
parent fc748eb3d0
commit d9c5191563

View File

@ -52,7 +52,7 @@
# Add the Spack bin directory to the path so that we can use its output in docs. # Add the Spack bin directory to the path so that we can use its output in docs.
spack_root = '../../..' spack_root = '../../..'
os.environ['SPACK_ROOT'] = spack_root os.environ['SPACK_ROOT'] = spack_root
os.environ['PATH'] += os.pathsep + '$SPACK_ROOT/bin' os.environ['PATH'] += '%s%s/bin' % (os.pathsep, spack_root)
# Get the spack version for use in the docs # Get the spack version for use in the docs
spack_version = subprocess.Popen( spack_version = subprocess.Popen(