[arch-commits] Commit in ditaa/trunk (ditaa.sh)

Alexander Rødseth arodseth at archlinux.org
Sun Jul 22 21:45:24 UTC 2018


    Date: Sunday, July 22, 2018 @ 21:45:24
  Author: arodseth
Revision: 362878

Better custom shell script

ref https://wiki.archlinux.org/index.php/Java_package_guidelines

Modified:
  ditaa/trunk/ditaa.sh

----------+
 ditaa.sh |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: ditaa.sh
===================================================================
--- ditaa.sh	2018-07-22 21:45:14 UTC (rev 362877)
+++ ditaa.sh	2018-07-22 21:45:24 UTC (rev 362878)
@@ -1,3 +1,2 @@
 #!/bin/sh
-DIR=/usr/share/java/ditaa
-"$JAVA_HOME/bin/java" -jar "$DIR/ditaa-VERSION.jar" "$@"
+exec /usr/bin/java -jar '/usr/share/java/ditaa/ditaa-VERSION.jar' "$@"



More information about the arch-commits mailing list