Skip to content

Commit 27baee0

Browse files
committed
add to path
1 parent 46303b3 commit 27baee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rtd_pre_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ set -euox pipefail
77
java -version
88
dot -V
99

10-
# This folder is on PATH and does not require sudo
1110
# Download latest plantuml.jar from github
1211
mkdir -p "${HOME}/.local/bin"
12+
export PATH="${HOME}/.local/bin:$PATH" # Add it to PATH
1313
curl -o "${HOME}/.local/bin/plantuml.jar" -L https://github.com/plantuml/plantuml/releases/latest/download/plantuml.jar
1414
# Create an executable script for plantuml
1515
printf '#!/bin/bash\nexec java -Djava.awt.headless=true -jar "${HOME}/.local/bin/plantuml.jar" "$@"\n' > "${HOME}/.local/bin/plantuml"

0 commit comments

Comments
 (0)