Skip to content

Commit 86a5734

Browse files
committed
bug
1 parent 242eb6f commit 86a5734

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.readthedocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ build:
77
# Install PlantUML
88
pre_install:
99
- curl -o ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml.jar -L https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar
10-
- echo -e '#!/bin/bash\nexec java -Djava.awt.headless=true -jar ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml.jar "$@"' > ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml
10+
- echo '#!/bin/bash' > ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml
11+
- echo 'exec java -Djava.awt.headless=true -jar ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml.jar "$@"' >> ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml
1112
- chmod +x ${READTHEDOCS_VIRTUALENV_PATH}/bin/plantuml
1213

1314
sphinx:

0 commit comments

Comments
 (0)