diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-08 14:22:54 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-08 14:22:54 +0200 |
commit | 5e5b7d4ace39a39fca19676fcf1da602b3cd3383 (patch) | |
tree | 8babe5658b5983c7a212a83b8c7d4e2b104c8102 /compilePlantUML.sh | |
parent | 09f2d71de2677e87b0b567d3f89be81744d39857 (diff) | |
download | scripts-5e5b7d4ace39a39fca19676fcf1da602b3cd3383.tar.gz scripts-5e5b7d4ace39a39fca19676fcf1da602b3cd3383.zip |
Changed plantUML executable and removed blank end lines.
Diffstat (limited to 'compilePlantUML.sh')
-rwxr-xr-x | compilePlantUML.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compilePlantUML.sh b/compilePlantUML.sh index dcef247..e5de323 100755 --- a/compilePlantUML.sh +++ b/compilePlantUML.sh @@ -20,9 +20,11 @@ targetDir="/tmp/plantUML" sourceFile="$1" targetFile="${targetDir}/${sourceFile##*/}" targetFile="${targetFile%.*}.png" -plantUMLExec="$HOME/programs/plantUML/plantuml.jar" +#plantUMLExec="$HOME/programs/plantUML/plantuml.jar" [ -d "$targetDir" ] || mkdir -p "$targetDir" -java -jar "$plantUMLExec" "$sourceFile" -o "$targetDir" +# java -jar "$plantUMLExec" "$sourceFile" -o "$targetDir" +plantuml "$sourceFile" -o "$targetDir" [ -n "$open" ] && "$VIEWER" "$targetFile" & exit 0 # So return value is not that of previous line + |