summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorHakan Dilek <hakandilek@gmail.com>2019-03-08 11:56:40 +0000
committerAndrej Shadura <andrewsh@debian.org>2019-07-13 01:24:18 +0200
commit02bef684bc2475c7ba125c08b92a86b401269ee9 (patch)
tree47fc8ee78f3c5b9598fa2bb675f00e4a261f57fb /debian
parent25b2bde335bc1ad09d5012e89e6d86713cc2c81f (diff)
Use system proxy
PlantUML does not consider any of the system proxy environment variables like HTTP_PROXY or HTTPS_PROXY. Java has a system property java.net.useSystemProxies to use system proxy varables in all http calls: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html LP: #1819119
Diffstat (limited to 'debian')
-rw-r--r--debian/plantuml.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/plantuml.sh b/debian/plantuml.sh
index f7788dc..81e49be 100644
--- a/debian/plantuml.sh
+++ b/debian/plantuml.sh
@@ -26,4 +26,4 @@ else
exit 1
fi
-$JAVA -jar /usr/share/plantuml/plantuml.jar ${@}
+$JAVA -jar -Djava.net.useSystemProxies=true /usr/share/plantuml/plantuml.jar ${@}