Skip to content

Commit 53f6a40

Browse files
committed
fix rtd_pre_install conda_prefix
1 parent 5ead986 commit 53f6a40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/rtd_pre_install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ dot -V
99

1010
# This folder is on PATH and does not require sudo
1111
# Download latest plantuml.jar from github
12-
curl -o ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml.jar -L https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar
12+
curl -o ${CONDA_PREFIX}/bin/plantuml.jar -L https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar
1313
# Create an executable script for plantuml
14-
printf '#!/bin/bash\nexec java -Djava.awt.headless=true -jar ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml.jar "$@"' > ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml
15-
chmod +x ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml
14+
printf '#!/bin/bash\nexec java -Djava.awt.headless=true -jar ${CONDA_PREFIX}/bin/plantuml.jar "$@"' > ${CONDA_PREFIX}/bin/plantuml
15+
chmod +x ${CONDA_PREFIX}/bin/plantuml
1616

1717
# Check plantuml version
1818
plantuml -version

0 commit comments

Comments
 (0)