Add spack to the PATH for doc tests

This commit is contained in:
Adam J. Stewart 2016-08-29 11:10:06 -05:00
parent a0c8aca3a2
commit e04b76c2c3

View File

@ -28,6 +28,9 @@ deps=(
# Check for dependencies # Check for dependencies
"$QA_DIR/check_dependencies" "${deps[@]}" || exit 1 "$QA_DIR/check_dependencies" "${deps[@]}" || exit 1
# Add Spack to the PATH.
export PATH="$SPACK_ROOT/bin:$PATH"
# Move to documentation directory # Move to documentation directory
# Allows script to be run from anywhere # Allows script to be run from anywhere
cd "$DOC_DIR" cd "$DOC_DIR"