diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-15 10:49:09 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-15 10:49:09 -0700 |
commit | 1e673bfa42c16afe296de6bc1ce3559af96c10c1 (patch) | |
tree | 4de76fda46f5229e7f51a4e44dae3e3abbcb1945 /lib | |
parent | 483e4116c07c55a6f7e10b405698d8a7041b5461 (diff) | |
download | spack-1e673bfa42c16afe296de6bc1ce3559af96c10c1.tar.gz spack-1e673bfa42c16afe296de6bc1ce3559af96c10c1.tar.bz2 spack-1e673bfa42c16afe296de6bc1ce3559af96c10c1.tar.xz spack-1e673bfa42c16afe296de6bc1ce3559af96c10c1.zip |
Don't assume spack is in the path when buildign docs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index 3d2a8251aa..f3cb268177 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -51,7 +51,8 @@ os.environ['SPACK_ROOT'] = spack_root 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. |