--- bin/asciidoctorj.orig 2022-01-09 16:49:22.000000000 +0200 +++ bin/asciidoctorj 2022-01-12 14:03:15.000000000 +0200 @@ -21,7 +21,7 @@ done SAVED="`pwd`" cd "`dirname \"$PRG\"`/.." >/dev/null -APP_HOME="`pwd -P`" +APP_HOME="@@PREFIX@@" cd "$SAVED" >/dev/null APP_NAME="asciidoctorj" @@ -68,7 +68,7 @@ ;; esac -CLASSPATH=$APP_HOME/lib/asciidoctorj-2.5.13-bin.jar:$APP_HOME/lib/asciidoctorj-2.5.13.jar:$APP_HOME/lib/asciidoctorj-api-2.5.13.jar:$APP_HOME/lib/asciidoctorj-epub3-2.1.3.jar:$APP_HOME/lib/asciidoctorj-diagram-2.3.0.jar:$APP_HOME/lib/asciidoctorj-diagram-ditaamini-1.0.3.jar:$APP_HOME/lib/asciidoctorj-diagram-plantuml-1.2024.3.jar:$APP_HOME/lib/asciidoctorj-pdf-2.3.14.jar:$APP_HOME/lib/asciidoctorj-revealjs-5.1.0.jar:$APP_HOME/lib/jruby-complete-9.4.7.0.jar:$APP_HOME/lib/jcommander-1.82.jar +CLASSPATH=$APP_HOME/asciidoctorj-2.5.13-bin.jar:$APP_HOME/asciidoctorj-2.5.13.jar:$APP_HOME/asciidoctorj-api-2.5.13.jar:$APP_HOME/asciidoctorj-epub3-2.1.3.jar:$APP_HOME/asciidoctorj-diagram-2.3.0.jar:$APP_HOME/asciidoctorj-diagram-ditaamini-1.0.3.jar:$APP_HOME/asciidoctorj-diagram-plantuml-1.2024.3.jar:$APP_HOME/asciidoctorj-pdf-2.3.14.jar:$APP_HOME/asciidoctorj-revealjs-5.1.0.jar:$APP_HOME/jruby-complete-9.4.7.0.jar:$APP_HOME/jcommander-1.82.jar # Determine the Java command to use to start the JVM. if [ -n "$JAVA_HOME" ] ; then